operachromiumdriver icon indicating copy to clipboard operation
operachromiumdriver copied to clipboard

how to i use with selenium standalone jar file?

Open mandalm opened this issue 9 years ago • 3 comments

Hi i have gone through your documentation but i have not figure it out how can i use it with selenium standalone server.

i am trying to use..

java -jar [PATH]/selenium-server-standalone-2.53.0.jar -Dwebdriver.chrome.driver=[PATH]/operadriver -role node -nodeConfig [PATH]/MAC_opera.json

capability definition on MAC_opera.json

{
      "platform": "MAC",
      "browserName": "opera",
      "maxInstances": 5,
      "seleniumProtocol": "WebDriver",
      "chromeOptions":{
        "args":[],
        "extensions":[],
        "binary": "/Applications/Opera.app/Contents/MacOS/Opera"
      },
      "operaOptions":{
        "binary": "/Applications/Opera.app/Contents/MacOS/Opera",
        "BinaryLocation":"/Applications/Opera.app/Contents/MacOS/Opera"
      },
      "binary":"/Applications/Opera.app/Contents/MacOS/Opera"
    }

Can you please provide more info on that? i have not tried on windows till now.

regards Mithun Mandal

mandalm avatar Jun 09 '16 08:06 mandalm

Similiar problem :disappointed:
I am tring configure docker, and did'nt find any information how to do it.

tomfun avatar Sep 29 '16 11:09 tomfun

@mandalm I use this:

.withCapabilities({browserName: 'operablink', operaOptions: {binary: '/usr/bin/opera'}})

There is 2 modes for selenium: presto and blink. For presto you must add some java classes, but blink is more actual and it can be used with those options.

tomfun avatar Oct 03 '16 17:10 tomfun

It seems to me that /usr/bin/opera should be the default binary path for operadriver on Linux.

joeyparrish avatar Oct 27 '16 22:10 joeyparrish