Category "selenium-webdriver"

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

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

Selenium on Raspberry Pi headless 2022

I have a weather station and take a screenshot of a webpage (windy.com) once an hour to integrate into my display which runs on a Pi 3 It was working perfectly

Getting error while clearing text in text box

Getting "A JavaScript error was encountered clearing the element. The driver assumes this is because the element is hidden" error in edge with IE mode browser

Scrape Website that is running meteor, using python requests

You see, there is this website called edabit. All you need to know is that I want to scrape the website without using selenium. I want to learn how. What does s

Selenium DevTools should log ALL but only logs ERROR and VERBOSE, how come?

I'm currently working on a Selenium project and we've just updated to the most recent version of Selenium. Now I wanted to output the result of my console.log()

Selenium cant find an element unless the page is inspected

I am automating with selenium and noticed something weird, on a specific webpage, there is a ul list containing some li roles that are buttons. For some reason,

Why am I not able to get rid of a context menu with Selenium or brute force Javascript

I have tried just about everything, but I am not able to get rid of the context menu. Steps Right click context menu. Accept alert Try to get rid of the context

Selenium C# - Recording how chrome driver do a test case

At this moment, in my tests I use Screenshots to locate where my test failed.. Screenshot is only taken while, test fails. Sometimes it is difficult to find a p

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

I'm trying to create a script using python that separate 2 kind of websites , the one with SPF included and the others with SPF , and classify them using python

A way of selecting the next xpath element

How can i switch to the next element from a table using python and selenium. I have a website with a table that looks like this: https://i.stack.imgur.com/ZYwKU

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".ui flu~"}

This is the code I use: import requests as r, sys as sus, bs4 as bs, webbrowser as wb from selenium import webdriver as wd dr = wd.Chrome() b = r.get("https:/

How can I open multiple browser instances in selenium in c#?

I want my program to open multiple browser instances at once and perform actions. But I ran into a problem, which is that all actions are performed in turn. I h

Unable to click Sign in button of Microsoft Login in C# Selenium

Trying to click Sign In button but getting "Stale element Exception error". IWebElement email = driver.FindElement(By.XPath("//*[contains(@name,'loginfmt')]"))

Chromedriver Selenium getting 'Connection Reset' when versions match

I am using chromedriver but am sometimes getting the following errors: 03:34:09.188 [AsyncHttpClient-1-2] WARN org.openqa.selenium.remote.http.WebSocket - Conne

Python selenium clicking a button

I am trying to write a python script to automatically download csv using the "Download CSV" button from the below link: https://chartink.com/screener/copy-super