Category "selenium"

SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

After my Chrome version update to 96.0.4664.55 I am not able to run my selenium scripts and getting below error ERROR StatusLogger Log4j2 could not find a loggi

Could not get version for google-chrome with the command: powershell "$ErrorActionPreference='silentlycontinue' using WebDriverManager with Selenium

When running a python script with selenium and chrome driver I am getting the error below. I use the script in question for some a pretty simple automation runn

Selenium RemoteWebDriver Usage Example (How to fix selenium.WebDriverException: chrome not reachable)

Not exactly as Chrome not reachable Selenium WebDriver error selenium.WebDriverException: chrome not reachable selenium.WebDriverException: chrome not reachable

What is the difference between Selenium server and WebDriver (not RC, not Remote, not 4.0)?

Please note that I am not talking about Selenium RC or RemoteWebDriver or the old Selenium server or the standalone server. I am also not talking about Selenium

Selenium - Java - Chrome doesn't use provided user-data-dir when Headless

I am trying to run some tests with Selenium 4.1.3, Chrome 100 and Java 18. The test requires to use a specific Chrome profile. My code works perfectly when Chro

WebElement.findElement is not finding child element

I am trying to get child element (Card Number) from an html codes where html tags and class names are same. Below is the html code snippet <li class="payment

How to print Test Description on Extent Report in Selenium with c#?

How can I print test description for current test in Extent Report? Here is my snippet: [SetUp] public void StartUpTest() { extent.CreateTest(TestContext.Cu

selenium user profile in headless mode, chrome browser

Situation: i'm running chrome in headless mode (see arguments in section part of code), when i connect to page (let say i sign into the page before i run my app

How can I read HTML using Selenium in Python when I cannot see the whole page?

I want to use some text in a Smartsheet page/grid, but when I try to access it using Selenium (finding the element by id and copying the text to a variable), th

Unable to locate an element with the xpath expression using Selenium

I am now convinced that there is no solution to this. But in case there is someone out there who can help: Whole Element that I want to click on genesys cloud i

Unable to locate an element with the xpath expression using Selenium

I am now convinced that there is no solution to this. But in case there is someone out there who can help: Whole Element that I want to click on genesys cloud i

How to scrape related searches on google?

I'm trying to scrape google for related searches when given a list of keywords, and then output these related searches into a csv file. My problem is getting be

RegistryBasedServlet Equivalent in Selenium 4

With Selenium 3, I was able to create custom servlets that can be configured to be used with Hub and Node. It was possible to extend org.openqa.grid.web.servlet

how to scroll a local div element with selenium

I am trying to scroll through a local div element using driver.find_element_by_xpath(element).send_keys(Keys.PAGE_DOWN) the problem is that element is not an el

On Selenium WebDriver how to get Text from div with Mark Tag

On Selenium Webdriver, how I can retrieve entire text from div with Mark Tag? I need to verify that the word 'correctly' is present. Example HTML code: <div

Pytest hangs indefinitely running tests after Selenium image update

A day ago selenium updated their standalone-images (https://hub.docker.com/search?q=selenium&type=image) and at the same time selenium 4.0.0 was released on

how to run java selnium junit Tests using groovy

I am using ReadyAPI which use Groovy as Scripting language. But, I built a Selenium 4 framework which Tests some IHMs in my work using java8 and Junit4, and it

Python & Selenium: How to get values generated by JavaScript

I use Selenium in Python for scraping. I can't get values though these values are displayed on the browser. So I checked the HTML source code, then I found that

How to extract multiple texts from span elements using python selenium?

I am trying to extract all the texts in span into list, using the following HTML code from Selenium webdriver method: ['1a', '1b', '1c', '2a', ' ', ' ', '3a', '

extracting the desired link and its order from the links taken with selenium

from selenium import webdriver import time driver = webdriver.Chrome("chromedriver.exe") driver.get('https://www.google.com.tr/search?num=100&q=istanbul%20h