Questions tagged [selenium-remotedriver]

The Remote WebDriver implementation Controls a browser by sending commands to a remote server. This server is expected to be running the WebDriver wire protocol as defined in JsonWireProtocol.

The Remote WebDriver implementation Controls a browser by sending commands to a remote server. This server is expected to be running the WebDriver wire protocol as defined in JsonWireProtocol

  • Python implementation:

    class selenium.webdriver.remote.webdriver.WebDriver(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=None, browser_profile=None, proxy=None, keep_alive=False, file_detector=None, options=None)
    

Reference: selenium.webdriver.remote.webdriver

48 questions
1
vote
0 answers

How to run "selenium==4.0.0b2.post1" remote-driver on docker

I am currently trying to run Selenium Remote driver, version selenium==4.0.0b2.post1 on docker-compose in the port 6900. I can currently connect to selenium grid, but I cannot run the remote webdriver. My dockerfile is: # To execute this…
The Dan
  • 1,408
  • 6
  • 16
  • 41
1
vote
3 answers

How to set HTTP_PROXY using Selenium RemoteWebDriver?

Here is my current code to launch browser without any proxy: properties = getGridProperties(); DesiredCapabilities capabilities = null; FirefoxProfile profile = new FirefoxProfile(); …
1
vote
0 answers

Selenium | Unable to create new service: ChromeDriverService | Driver info: driver.version: unknown (SessionNotCreated)' | C#

Try to start selenium with chrome by remoteDriver with a hub. I create a config.json for capabilities, configuration etc... I manage to run tests with IE and Firefox but can't with Chrome. When start my test with chrome, I get this mistake…
1
vote
0 answers

Cannot fetch value from table using Selenium::Remote::Driver in perl

I need to take value from a table cell and it is identifying the element but not fetching the value out of it. I've tried: $driver-> get_text('xpath') and also $driver->find_element('xpath').get_text(); None of these are working here. HTML:
Sahal
  • 105
  • 13
1
vote
1 answer

How can I change user agent in selenium remote web driver

I will use selenium remote web driver for test my web application. In my case I should be use firefox web driver. Now I don't know how canI change my useragent in this case It is my code for use remote web driver DesiredCapabilities Capabilities =…
1
vote
0 answers

Rselenium org.openqa.selenium.WebDriverException

Using RSelenium, I want to click the enter image description here button. this page has two views a desktop mode and a mobile mode, I think the desktop view is hidden and does not allow you to click. enter image description here. server <-…
lizfj
  • 11
  • 2
1
vote
1 answer

Edge launches but fails to navigate to uri

I am using selenium remotedriver(with C#) for chrome and edge. The tests seem to run fine on the chrome browser but not on edge. Edge is launched but fails to navigate to the specified uri. I tried to make sure, I have the same version of webdriver…
Jai
  • 155
  • 2
  • 9
1
vote
1 answer

SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService with Selenium 3.14.0 and Python 3.7.3

Python 3.7.3 Pycharm 2019.1.3 selenium standalone 3.14.0 Selenium 3.141.0 Java JDK 12.0.2 Windows 7 When I try to run script using remote webdriver a got the error, my java.version is not what I expected (expected version at least…
1
vote
1 answer

How to find text for multiple elements using find_elements

I'm fairly new to using Selenium Remote Driver and Perl. What I'd like to do is to have Selenium find all elements on a page using a partial match of text. Then store the full text of those elements into an array. I've tried using: @elements =…
Thornsong
  • 11
  • 2
1
vote
1 answer

How to fix "Connection Refused" error while connecting with Selenium Docker Firefox container from Selenium RemoteWebDriver?

I have been trying to learn Docker by creating a Docker container for Standalone-Firefox browser and connecting it using Selenium RemoteWebDriver. I have installed a docker image and made sure it is running. I am trying to access Google.com and…
1
vote
1 answer

How to keep Appium server to its assigned AppiumDriver when multiple devices are connected

I trying to set up a framework automation setup with multiple devices with each creating an Appium server depending on how many devices are connected. I'm able to create an Appium server and assign it to each device, but when it starts and at first…
0
votes
1 answer

Set max connection retries for Selenium RemoteWebdriver

In the setup method of our testrun we try to connect to our selenium grid. By default the connection setup is configured with 3 connection retries. I would like to change the connection retry with an option but didn't found anything in the…
0
votes
0 answers

Remote driver using selenium in python

I have to run browser automation remotely. This means when I execute scripts from machine A, application should open in the Chrome browser in Machine B and does the automation (navigating to few screens). For this scenario I have installed selenium…
0
votes
0 answers

Is there a working version of Cisco's QtWebdriver and Selenium 4?

After upgrading to Selenium 4 I cannot create a Remote Webdriver in Python3.11 to connect to our QT Application using the qtwebdriver. I have been able to connect to our CEF Application and Android Tablet using Selenium 4.9.1 and Appium…
0
votes
0 answers

Selenium remote using Cloud Run Service terrible slow and crashing session

I'm quite new to docker and I'm trying to create a scraper using Selenium Remote and Cloud Run Services based on this site. I mainly have three problems (for now): The scraper is WAY slower, compared to running it locally. Is this normal? Is remote…