Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97756 articles
Browse latest View live
↧

Python: Why the file is beeing saved to wrong folder?

I dont get why this code is saving the csv file on the folder 'chats', and not the 'chatroom' folder.The name of the csv must be the chatroom + in + timestr .csv #Make Selenium check the chatroom name...

View Article


Not able to connect with Firefox

When I am running my webdriver project then sometime it throws the exception for "Not Connected" and sometime it works fine.Also, when it connect and start the execution then at mid of execution its...

View Article


How to keep Remote Machine always alive for Execution of Automation Execution

How to keep Remote Machine always alive for Execution of Automation Execution.We trigger Jenkins Pipeline on the Remote Windows 10 Virtual Machine. It goes to sleep and Automation fails as at that...

View Article

Image may be NSFW.
Clik here to view.

Click an item in a drop-down menu using selenium Python library

I'm trying to select an element in a drop-down menu. I tried to use "driver.find_element_by_xpath" call to locate the item in the list. The problem is that I can't select it. I tried ".click()" call...

View Article

Can we use Condition with axes in XPATH?

Can we use Condition with axes in XPATH?Trying to check both parent and child in XPath. Example:span[text()='Accounts']/parent::a OR child::div I know this is wrong. But is there any way to check the...

View Article


AttributeError: module 'selenium.webdriver' has no attribute 'switch_to_alert'

I am making a simple crawler that can open a site and when a pop up appears, it should close it. but the following command isn't working.from selenium import webdriver browser =...

View Article

Link does not open in Firefox Selenium Java

I get an error when trying to open a link via Selenium in FireFox V. 73. 0 (64-bit) Geckodriver driver version-v0.26. 0 Help me solve the problem)public By searchResultLinktLocator(int searchResult) {...

View Article

Image may be NSFW.
Clik here to view.

Not able to download .csv file through Google Chrome in headless mode

I have been trying to download a csv file using selenium in Chrome headless mode but it is not working for my scenario. I tried to run the same script without headless and it works. I tried the same...

View Article


How to recover from "OpenQA.Selenium.WebDriverException: 'target frame...

Since chrome updated to version 80 I started getting OpenQA.Selenium.WebDriverException: 'target frame detached" exceptions from the chrome webdriver, when trying to switch frames. Even...

View Article


Image may be NSFW.
Clik here to view.

How to handle pop up window dialog to download file automatically with...

I am trying to download the file automatically from system file download dialog by setting preference in firefox profile in my python selenium code , but my code is not working.Browser : Firefox 72.0...

View Article

Why I can't send_keys to Twitch search bar in Python with Selenium?

I was trying to write a Selenium bot to search in twitch. I can click the search bar but I can't send any value to the search bar.what is the issue? I worked for hours but can't fix my problem.This is...

View Article

Selecting a link with Selenium Webdriver?

How can I select a link with selenium webdriver?Selenium before would be done by: selenium.click("link=Users"); But how can I do the same with webdriver?I thought about...

View Article

Extracting data from embedded PDF files from web pages using python

I am using Selenium to automate Firefox browser to navigate to a particular web page. In that web page, you get an embedded PDF file. I was wondering if there is any way to extract data from the PDF in...

View Article


Selenium_Unable to click on 'continue with google' link on Gaana webpage

Screenshot of webpage Already tried with locator By.ID and switch to alert, switch to windows.. but no luck Please helppublic class Gaana { public static void main(String[] args) throws...

View Article

Integrating shell scripts with selenium

I have a situation where we would like to run our Selenium test suite, but at certain points in the process we would like to execute a shell command on our machine.Does Selenium have the capability of...

View Article


Selenium Python, element not clickable because obscured

I am trying to webscrape multiple pages from a website, but to get to the next page I have to click the 'Next' button.I programmed my code on my computer, where it runs perfectly. Now I have tried to...

View Article

How to restart Selenium browser after quit?

I'm trying to quit and then restart a new browser session with Selenium when encountering a captcha, and I'm not sure yet why the code below isn't working.It quits the existing driver, but after...

View Article


How to Select Current Work Shift from a Drop Down List - PowerShell /...

I'm trying to automate some data entry into a Chrome Browser.One field in particular that I'd like to automate the selection of, is a Work Shift drop down list. This list displays a list of today's...

View Article

Scraping data from charts or tables created using Google Visualization tools...

I am trying to scrape data from the tables and charts from this website:...

View Article

How to run if if else condition based on element visibility in selenium robot...

I am automating a user registration form flow, where successful registration shows a success message and any validation error throws alert text. For this, I am writing an if-else flow based on the...

View Article
Browsing all 97756 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>