selenium-webdriver Questions

6

Solved

I want to run selenium through chromium. I wrote this code: from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() options.add_argument("start...

0

i am trying to get data form a page see url = "https://clutch.co/il/it-services" The website i am trying to scrap from has some sort of anti-bot protection with CloudFlare or similar serv...

8

Solved

I am currently using Selenium to run instances of Chrome to test web pages. Each time my script runs, a clean instance of Chrome starts up (clean of extensions, bookmarks, browsing history, etc). I...
Shingle asked 12/5, 2013 at 19:49

3

Solved

I'm having trouble locating a span element in Selenium using java. the HTML looks like: <div class="settings-padding"> <span>Settings</span> </div> And I've ...
Virgulate asked 22/7, 2016 at 19:47

2

Solved

I am using seleniumbase with Driver(uc=True), which works well for my specific scraping use case (and appears to be the only driver that consistently remains undetected for me). It is fine for ever...
Queenhood asked 16/11, 2023 at 11:48

5

I try to press the Replay button at Spotify Web Player with Python, but get this error. How can I press buttons in a webplayer? replay = driver.find_element_by_xpath("""/html/body/di...
Tatman asked 6/11, 2019 at 15:59

2

Solved

I try to make a simple selenium test in a remote server (Ubuntu 22.04) without display mode. The chrome browser version is 120.0.6099.129 and the chrome driver version is 120.0.6099.109. The result...

1

In a previous post (enter link description here) the following code (by DebanjanB) # install firefox, geckodriver, and selenium !apt-get update !pip install selenium !apt install firefox-geckodri...

5

Today I got this message on the console when running selenium using the chromedriver. How do I suppress this? DevTools listening on ws://127.0.0.1:12740/devtools/browser/97101fe4-3b1f-42b0-b5c8-37...
Infantilism asked 20/11, 2017 at 12:46

7

from selenium import webdriver driver = webdriver.chrome("F:\\chromedriver.exe") driver.get("https://www.nvidia.in/graphics-cards/geforce/pascal/buy/")
Meatiness asked 5/7, 2018 at 9:47

20

Solved

I can write up and execute Selenium script without any special test framework but I wanted to use Junit 5 (because we have dependency with other tools) and I have never seen such error org.junit.ju...
Horseflesh asked 15/8, 2018 at 23:13

18

Solved

I've got some tests where I'm checking that the proper error message appears when text in certain fields are invalid. One check for validity is that a certain textarea element is not empty. If thi...
Keystone asked 11/10, 2011 at 20:32

2

Solved

I'm using Python / Selenium to submit a form then I have the web driver waiting for the next page to load by using an expected condition using class id. My problem is that there are two pages tha...
Default asked 11/9, 2017 at 1:41

6

This code runs without any error but it automatically closes the google chrome after searching w3school from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webd...

1

I Dont why but the chrome driver dosent open, it give me error : ValueError: Timeout value connect was <object object at 0x0000011B792D8660>, but it must be an int, float or None. this is the...
Lodestone asked 28/10, 2023 at 8:48

4

Solved

I'm a noob as it comes to linux setup (and heroku), so apologies if this question is basic. I want to run selenium webkit (in ruby) on Heroku. I face a difficulty that my script cannot find Chrome...
Borderline asked 8/7, 2016 at 4:16

6

I'm trying to add cookies to a link before I open it with webdriver but it keeps giving me this error: org.openqa.selenium.UnableToSetCookieException: Unable to set cookie (WARNING: The server d...

13

Solved

I want to use Selenium Webdriver of Chrome in colab.research.google.com for fast processing. I was able to install Selenium using !pip install selenium but the webdriver of chrome needs a path to w...
Enlightenment asked 26/6, 2018 at 15:23

8

Solved

Let's say I have an input in a form (looks like a button and interacts like a button) which generates some data (well, the server generates the data based on the form parameters, but for the user, ...

2

I'm currently running Selenium with Specflow. One of my tests clicks on a button which triggers the download of a pdf file. That file is automatically opened in a new tab where the test then grabs...

5

I just started using selenium with Python and I keep getting the following error code: TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' Here's the code for the ...
Isidore asked 31/7, 2023 at 10:9

9

Solved

OS : Windows server Language : Java Chrome version : 116.0.5845.97 Chrome driver version : 116.0.5845.96 OUTPUT : SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logge...

4

Solved

How do I make selenium click on elements and scrape data before the page has fully loaded? My internet connection is quite terrible so it sometimes takes forever to load the page entirely, is there...

5

Solved

I'm trying to use XPath to find an element containing a piece of text, but I can't get it to work.... WebElement searchItemByText = driver.findElement(By.xpath("//*[@id='popover-search']/div/d...
Bearce asked 15/4, 2014 at 8:28

6

Solved

How can Selenium Chrome WebDriver notifications be handled in Python? Have tried to dismiss/accept alert and active element but seems notifications have to be treated other way. Also, all the Goog...

© 2022 - 2024 — McMap. All rights reserved.