Skip to content

Use Symfony Process component to start local webdriver processes - #342

Merged
OndraM merged 1 commit into
php-webdriver:communityfrom
OndraM:symfony-process
Nov 2, 2016
Merged

OndraM merged 1 commit into
php-webdriver:communityfrom
OndraM:symfony-process

Conversation

@OndraM

@OndraM OndraM commented Oct 14, 2016

Copy link
Copy Markdown
Collaborator

As in #299, I was unable to start ChromeDriver directly (ie. without Selenium server) and I also have no luck determining the cause (the process got stuck somehow). I was able to fix it by replacing the proc_open() with Symfony Process component.

The Process component itself uses the proc_open(), however, it adds compatibility layer, worarounds for some PHP bugs and encapsulates the whole started process, so it can be easily manipulated (and started asynchronously).

Even though I cannot verify it fixes #299, it makes starting of the process more portable. What do others think?

@OndraM
OndraM merged commit f694c8e into php-webdriver:community Nov 2, 2016
@OndraM
OndraM deleted the symfony-process branch November 14, 2019 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't open ChromeDriver without Selenium Standalone Server.

2 participants