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

Using a proxy causes a InvocationTargetException #22

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 1 comment
Open

Using a proxy causes a InvocationTargetException #22

GoogleCodeExporter opened this issue Aug 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Trying to use a proxy via webdriver as per the following

$cap = array('proxy' => '50.***.249.***:3128');
$webdriver->connect("firefox", "", $cap);


yields this in Selenium Server 

13:25:56.702 INFO - Executing: [new session: {javascriptEnabled=true, 
browserName=firefox, nativeEvents=false, proxy=*****:3128, version=}] at URL: 
/session)
13:25:56.745 WARN - Exception thrown
java.util.concurrent.ExecutionException: 
org.openqa.selenium.WebDriverException: 
java.lang.reflect.InvocationTargetException
Build info: version: '2.16.0', revision: '15381', time: '2012-01-04 18:45:20'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-317-ec2', 
java.version: '1.6.0_26'



Is that the correct way to issue a proxy request via the 
"php-webdriver-bindings" library?

Original issue reported on code.google.com by [email protected] on 13 Jan 2012 at 3:28

@GoogleCodeExporter
Copy link
Author

Nevermind. I worked out my issue by reading

http://stackoverflow.com/questions/7328494/selenium2-firefox-use-the-default-pro
file

Original comment by [email protected] on 13 Jan 2012 at 5:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant