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

Is headless selenium Firefox on Mac OS X 10.12.16 possible?

I am able to run Firefox webdriver using selenium in Python, but when I try the same code while adding in an option for "-headless", I get a traceback of "SessionNotCreatedException: Message: Unable to...

View Article


Eventing-binding for Left click in selenium

Which method is used to click left of mouse in selenium using java? Can it be done using action class?I tried using action class but did not get result.

View Article


Python Selenium automation error with whatsapp

from selenium import webdriver from selenium.webdriver.common.keys import Keys import config_login as logins import string times = int(input("how many times?")) starttimes = 0 def send_times(names,...

View Article

How can I open the CAPTCHA when running ChromeDriver in headless mode?...

This question already has an answer here:How to set selenium webdriver from headless mode to normal mode within the same session? 1 answerI'm running an automated process via selenium on headless...

View Article

Unable to download images in Instagram posts of target user using selenium...

I am trying to download all instagram posts of a particular person by searching username in searchbox. After I located to target profile using selenium webdriver, I am using...

View Article


what is need of explicit wait if we can set implicit wait for more amount of...

This question already has an answer here:How to combine implicit and explicit timeouts in Selenium? 1 answerReplace implicit wait with explicit wait (selenium webdriver & java) 5 answersHow to...

View Article

Unable to disable downloading images in headless mode for Selenium Chrome...

This question already has an answer here:How to disable CSS in Python selenium using ChromeOptions 2 answersIm trying to disable my driver from loading/downloading images on a website. It should...

View Article

How to iterate through svg elements for python

I have been trying to iterate across all svg elements on page with defined characterictics to click on them and parse then, but found it out only how to open the first element Do you know how to open...

View Article


Image may be NSFW.
Clik here to view.

in selenium how to use string variable into xpath

How to pass variable inside my xpath and use it? Or please advise if there is a better way to do this. Then I will do IF condition, in case my page will contents appropriate report name.here is a...

View Article


Headless safari browse via windows

Can I run headless safari browser via windows? I did not tried it yet but it's just I wanted to check if it's possible. If anyone have what all I need.

View Article

Automating email creation on ProtonMail using (Python, Selenium)

I want to create 10 emails on ProtonMail.I already automated half of the part, using PyAutoGui and Selenium but I want to make it like a checker because sometimes usernames are taken. Now what I wanna...

View Article

Selecting all links under only one div

I am trying to select all of the links contained under this one div in this kind of structure: <div id = "logged_hits"> <div class="toHigh nl"> <a href="(link i want to click)">/a>...

View Article

Selenium WebDriverWait does not throw timeout exception

I am using selenium to scrap web. The web is similar to google map, I need to input a start location and end location and then get the results. The webpage loads slowly and sometimes stops responding....

View Article


Why I get only first element?

I'm parsing this pageI pull out links from the number2 classes. Further in the loop I go through each element of number2 and try to get the results from the class 'center bold table-odds'. To do this,...

View Article

Can't click on webpage element using python selenium when used with mobile...

I am trying to automate clicking on the play button of an embedded iframe music player on a webpage, I am coding using python 3 and Selenium to select the element to click.When the user-agent is...

View Article


Create simple xpath expression with 'or' operator and a function

Can I make the following xpath expression to be simpler://*[translate(text(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ,'abcdefghijklmnopqrstuvwxyz')='word1' or translate(text(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'...

View Article

Different responses between script and manual execution of instructions using...

I want Selenium to display a table with the maximum of rows. This is possible thanks to a button that allows to change the number of rows in the table. I have made a script :url =...

View Article


Missing Get Methods Within Selenium

I may be looking or doing the wrong thing but when I attempt to use the GetAttribute or GetText methods within Selenium they're not present? so for example, there is a Forgotten Password link which is...

View Article

Python: Trouble finding element inside div xmlns

I'm attempting to automate some work with selenium and I'm having issues sending keys to the input id when attempting to login and I'm wondering if I'm in over my head.I've tried locating the element...

View Article

If statementdoesn't compare to the required strings and doesn't work with...

Having an issue when trying to compare strings in If statement. private String browser = XMLreader.getData("browser"); if (browser == "chrome"){ System.out.println(browser); } // Will not print...

View Article
Browsing all 97756 articles
Browse latest View live