Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Symfony Process component to start local webdriver processes #342

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

OndraM
Copy link
Collaborator

@OndraM OndraM commented Oct 14, 2016

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