Most voted "selenium-webdriver" questions
Selenium is one of the most known and used tools today to carry out automation tests acceptance in web applications through the use of the browser.
Learn more…229 questions
Sort by count of
-
0
votes0
answers5
viewsAccess Picker dialog seleniun sugem in Google (Python)
Hello I’m a beginner in programming, and I couldn’t find an explanation of how to solve my problem by searching the net. I am trying to access a spreadsheet file that is in my GDRIVE, through MY…
python google-chrome selenium-webdriverasked 3 years, 4 months ago Francisco Carlos Moreira Gomes 1 -
0
votes0
answers15
viewsI can’t access bet365 using the webdriver in python, what can I do?
from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium import webdriver…
-
0
votes0
answers14
viewsI cannot "catch" an element in Selenium Webdriver
Hello, good evening! I’m having a problem capturing the password element in Webdriver. I put the label path and still can’t capture the password field. Has anyone ever had this problem? Also I could…
-
0
votes0
answers12
viewsError VBA Sellenium - Webscrapping [Nosuchelementerror - Element not found for Xpath]
Hi, guys! I really need your help on this one: I’m trying to make a webscrapping on a phone company’s network interruption page. For this I am using Sellenium Webdriver + VBA to do this. However,…
-
0
votes0
answers7
viewsTreating exceptions "Staleelementreferenceexception" from Selenium in Python
I am developing a web automation to insert a list of numbers in a field on a website platform and click recurring within a "for" loop n times according to the dimension of the list. At first the…
-
0
votes0
answers12
viewsError using find_element_by_tag_name - Selenium python
I am trying to access the following element on a web page: [! [insert image description here][1]][1] The code I’m writing is this: import os import time import bs4 from selenium import webdriver…
-
-1
votes2
answers718
viewsClear() and Sendkeys() in a single method
I have the methods clear and sendKeys and wanted to "colapsar" both in one, WebElement user = webdriver.findElement(By.id("username")); user.clear(); user.sendKeys(username); WebElement passw =…
-
-1
votes1
answer4841
viewsHow to validate a text (Assert) in a given field in Selenium Webdriver?
How do I validate a text in a given field? The location is xpath: html/body/div[1]/div/div[4]/article/div[1]/div/header/div[1]/h1 The text is "Congratulations! Successfully inserted". How should I…
-
-1
votes1
answer2007
viewsProblem click python botan Selenium
I’m having trouble clicking a button, I tried it this way gives Elementnotvisibleexception: Message: element not interactable error pdf = driver.find_element_by_xpath('//*[@class="btn btn-default…
-
-1
votes1
answer47
viewsHow to find a Select without ID or NAME field
I have a test project where I have to perform some Inserts in the form and validate if everything is flowing well, but the Dev who created the form did not put select as follows: <select id=""…
-
-1
votes2
answers94
viewsError closing browser in Selenium-webdriver
Code: firefoxbin = os.path.abspath(os.path.join(os.path.dirname(__file__), 'drivers', 'geckodriver')) assert os.path.isfile(firefoxbin), "Driver \"{}\" não disponível.".format(firefoxbin)…
-
-1
votes2
answers260
viewsHow do I validate element (button) no longer present on the screen (was presented but is no longer) - Selenium Webdriver
someone can help me? How do I validate element (button) no longer present on the screen? It was presented. I clicked and the button disappeared (expected scenario). However, I want to…
-
-1
votes2
answers312
viewsSelenium sendkey sending unspecified text in the textbox - C#
When using the Sendkeys function in Selenium, the value sent to the textbox is dropped. This happens for both Chrome and Firefox. Ex.: I’m sending the value 123456789 to the textbox field and it’s…
-
-1
votes1
answer29
viewsException in Selenium Webdriver c#
Hello, I’m having trouble at this point: Openqa.Selenium.Nosuchelementexception: 'no such element: Unable to locate element: {"method":"link text","selector":"Issue Payment Guide (DAS)"} (Session…
-
-1
votes1
answer262
viewsValidation of the data itself entered in the field (character limit)
Suppose I have a field that has a limit of 15 characters. In my test i add 16 characters. How do I validate that they were entered only 15 characters in the field?…
-
-1
votes1
answer226
viewsSearch for CSS selector using label text
Hello, I’m looking to automate a form that has 4 fields in which the only difference is the label. I’ve searched a lot, but I couldn’t find an answer that would help me. I’m automating with Selenium…
-
-1
votes1
answer850
viewsCollect image link with python , Selenium and webdriver
I need to run a python script to get the url of an image that is only shown after running the page’s javascript. I am using python3 with Selenium and webdriver. However when trying to locate the…
-
-1
votes1
answer990
viewsPython (pyautogui / Selenium) save selected text
Good afternoon! I’m having a doubt here and I’d really like some help: I’m doing some tests here in python, automating the login to instagram, accessing the followers page and selecting the names…
python python-3.x selenium selenium-webdriver pyautoguiasked 4 years, 9 months ago Jonathan Deptulsqui 35 -
-1
votes1
answer239
viewschange user-agent in python webdriver Selenium during navigation
need to perform the following procedure: 1) browsing with user-agent mobile (I can do) open the site www.site.com and login (I can do) 2) Change user-agent to mobile(I cannot do) access an option on…
python mobile selenium-webdriver toggle user-agentasked 4 years, 5 months ago enio ricardo de farias 11 -
-1
votes1
answer123
viewsI cannot click on the alert using Selenium
When clicking a button, an alert is issued asking me to confirm, it turns out that I already tried using Pynput to confirm with ENTER Key.press. But it didn’t work. The alert is in another window,…
-
-1
votes1
answer18
viewstake top element Selenium, python, scraping
<div class="cell-list-content-icon"> <span><i class="fa fa-briefcase"></i>EMPRESA XXXXXXXX</span> <span><i class="fas…
-
-1
votes1
answer40
viewsSelenium - No Download Permission
I created a script in Python using Selenium to access a site and download some files, however, the browser blocks the download and informs the following message: "Could not download - No…
-
-2
votes2
answers100
viewsHow do I restart the page if Selenium does not find the element on the page?
from selenium import webdriver from selenium.webdriver import Firefox import time url = 'https://google.com' driver = webdriver.Firefox() driver.get(url) time.sleep(10)…
-
-2
votes1
answer735
viewsSelenium Webdriver error accentuation
I am using Selenium Webdriver to realign test with python when running this line: mov.find_elements_by_xpath("td")[3].text.encode('utf-8') I have as answer: {'descricao': 'PROTOCOLIZADA…
-
-2
votes0
answers36
viewsFor loop taking only the first df item, and xpath not returning value
I think the loop only takes the first number of the df print(span) appears 2, and xpath is returning empty in print(lucro_el), tried with the print(len(lucro_el)) and the answer was 0 span_index =…
-
-2
votes1
answer71
viewsCheck if e-mail has loophole through have I been Pwned (Selenium/Python)
Good afternoon! I’m using Selenium for automated testing. The goal is to verify, through a list of institutional emails, if the email is in some loophole and send a standard email requesting…
-
-2
votes1
answer232
viewsHow to automate PDF download with Selenium?
I’m trying to automate a daily entry to the Official Gazette, http://www.imprensaoficial.com.br find the date, the desired section and download each page of the pdf section. Page numbering changes…
-
-2
votes1
answer44
viewsError running Nunit test routine by command prompt
The following error is shown when executing the command: NUnit.Engine.NUnitEngineException : The path specified in --result TestResult.xml could not be written to ---->…
-
-4
votes1
answer2376
viewsSelenium.common.exceptions.Nosuchelementexception: Message: Unable to locate element: {"method":"id","selector":"//input[contains(@id,
When using the code: self.browser.find_element_by_id("//input[contains(@id,'seq')]") I get the error message: selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element:…