New answers tagged python
0
votes
Is there a way to record a video of my Selenium automation with Python?
In every application, where user interface testing is performed, such scenarios of recording your automation script has become a common requirement in professional automation frameworks especially ...
0
votes
Accepted
Python + VS Code: ModuleNotFoundError: No module named ' ' occur
Following solution worked for me:
Cross check you have installed the module for which error occurred
You can check it using cmd pip3 show selenium i.e. pip3 show <module_name>
Expectations ...
0
votes
Accepted
macOS Monterey12.0+Python+Selenium+Chrome: WebDriverException: Message: 'chromedriver' executable needs to be in PATH & “chromedriver” can’t be opened
Solution :
Download chromedriver_mac64_m1.zip [Check and find appropriate version here]
Open termial and execute below cmd
sudo mv chromedriver /usr/local/bin
sudo chown root /usr/local/bin/...
0
votes
How to get specific data in a div with Selenium?
This is what I tried with Java + Selenium and it sort of worked:
System.out.println(driver.findElement(By.xpath("//li[@class='cntanr'][1]//h2//span[@class='lng_cont_name']")).getText());
...
Top 50 recent answers are included
Related Tags
python × 510selenium-webdriver × 425
automated-testing × 133
chromedriver × 29
selenium2 × 28
robotframework × 26
browser-automation × 22
xpath × 20
java × 18
unit-tests × 18
appium × 15
test-automation-framework × 14
pytest × 13
chrome × 10
selenium3 × 9
javascript × 6
test-design × 5
jmeter × 4
page-objects × 4
mobile-automation × 4
uiautomation × 4
firefoxdriver × 4
mock × 4
headless × 4
ride × 4