Skip to main content

All Questions

681 votes
19 answers
767k views

I'm using the Python bindings to run Selenium WebDriver: from selenium import webdriver wd = webdriver.Firefox() I know I can grab a webelement like so: elem = wd.find_element_by_css_selector('#my-id'...
Chris W.'s user avatar
  • 39.5k
645 votes
26 answers
513k views

I've been testing out Selenium with Chromedriver and I noticed that some pages can detect that you're using Selenium even though there's no automation at all. Even when I'm just browsing manually just ...
Ryan Weinstein's user avatar
643 votes
37 answers
1.0m views

I am going over Sweigart's Automate the Boring Stuff with Python text. I'm using IDLE and already installed the Selenium module and the Firefox browser. Whenever I tried to run the webdriver function, ...
tadm123's user avatar
  • 8,899
555 votes
53 answers
707k views

Is it possible to take a screenshot using Selenium WebDriver? (Note: Not Selenium Remote Control)
James Hollingworth's user avatar
486 votes
54 answers
717k views

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The ...
user1591169's user avatar
  • 4,861
466 votes
13 answers
727k views

I am looking for something like: getElementByXpath(//html[1]/body[1]/div[1]).innerHTML I need to get the innerHTML of elements using JS (to use that in Selenium WebDriver/Java, since WebDriver can't ...
pMan's user avatar
  • 9,248
402 votes
13 answers
972k views

I'm trying to test a complicated JavaScript interface with Selenium (using the Python interface, and across multiple browsers). I have a number of buttons of the form: <div>My Button</div> ...
josh's user avatar
  • 9,628
390 votes
56 answers
710k views

I am trying to launch chrome with an URL, the browser launches and it does nothing after that. I am seeing the below error after 1 minute: Unable to open browser with url: 'https://www.google.com' (...
Kumar Sampath's user avatar
383 votes
37 answers
938k views

I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/ After downloading the zip ...
steady_progress's user avatar
378 votes
3 answers
84k views

I'm trying to put list of possible solutions for browser automatic tests suits and headless browser platforms capable of scraping. BROWSER TESTING / SCRAPING: Selenium - polyglot flagship in browser ...
361 votes
12 answers
379k views

What is the difference between these Webdriver.Close() Webdriver.Quit() Webdriver.Dispose() Which one to be used and when?
Puran Joshi's user avatar
  • 3,756
353 votes
16 answers
845k views

I want to scrape all the data of a page implemented by a infinite scroll. The following python code works. for i in range(100): driver.execute_script("window.scrollTo(0, document.body....
apogne's user avatar
  • 3,665

15 30 50 per page
1
2 3 4 5
10517