Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
457 views
by Contributing Tester (92 points)
edited by
_jmeter.threads.JMeterThread: org.openqa.selenium.SessionNotCreatedException: InvalidArgumentError: Expected [object String] "{"proxyAutoconfigUrl":null,"autodetect":false,"socksUsername":null,"socksPassword":null,"httpProxy":null,"proxyType":"SYSTEM","noProxy":null,"ftpProxy":null,"socksProxy":null,"hCode":1762714717,"class":"org.openqa.selenium.Proxy","sslProxy":null}" to be an object (WARNING: The server did not provide any stacktrace information) Test failed! 

Driver info: driver.version: FirefoxDriver

On starting FF with Jmeter getting above error. Please refer stacktrace below for more information.


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:367)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:113)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)

by The go-to Tester (181 points)
Can you post your code using which you are invoking Firefox browser?

Please log in or register to answer this question.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...