Most voted "selenium" questions
Selenium is an integrated development environment for automated test scripts.
Learn more…332 questions
Sort by count of
-
0
votes2
answers668
viewsProblems in the automation of sending messages on Whatsapp through the Python Selenium library
I’m with an automatic messaging project via Whatsapp that consists of sending messages provided with special characters (emojis and other symbols) saved in files . txt, however, whenever I use the…
-
0
votes1
answer89
viewsPython Selenium capturing only 1 link
Good afternoon to everyone, I’m starting to learn Selenium and have already passed me a project to do that I’m half lost. I need to capture all the URL summaries…
-
0
votes0
answers69
viewsTest in anonymous window on Seleniumwebdriver
I’m trying to get Selenium to run the tests in Firefox’s private window, but the execution is still done in the default window. Something is missing? private IWebDriver driver; public…
-
0
votes0
answers19
viewsSelenium with AWS Farm giving error "URL has expired"
Hello. I am developing automated tests using Selenium and AWS Farm (desktop). To run the tests I am using Circleci. When I run the tests it starts the execution but then presents the following…
-
0
votes3
answers510
viewsUse Selenium without opening browser
How to use Selenium without opening the browser? I used a code I saw right here, options.add_argument("--headless"), and also options.set_headless(True), but makes that mistake:…
-
0
votes0
answers18
viewsWhat is the difference between the @textContent attribute, the text() function and the dot (.) in xpath?
Can anyone tell me the difference between the @textContent attribute, the text() function and the dot (.) in xpath? I performed several tests using the findElements(By.xpath) method of Selenium and…
-
0
votes1
answer241
viewsError using "find_element" command in python Selenium
I am programming a boot that interacts with a google page (google Meet) for this I am Selenium, but when I use the command find_element in python it gives the following error:…
-
0
votes1
answer287
viewsSelenium Webdriver python headless does not identify elements
Good afternoon, I am programming a python file using Lenium. I reached my goal and the file ran smoothly. I went further and decided to use the headless, already at the beginning of the file…
-
0
votes0
answers131
viewsChange page language with python and Selenium
I’m trying to make the web scraping on Amazon with python and Selenium, but I need to translate the page to English first. This is my code: from os import getcwd from selenium import webdriver from…
-
0
votes0
answers41
viewsHow to select Whatsapp nodejs + Selenium input
Language in Nodejs + Selenium I’m making a simple bot in nodejs and Selenium, I just need to be able to select the input to send file but I’m not getting, It is the first file type input, but I’m…
-
0
votes1
answer188
viewsAutomation Webdriver with python
I’m using the python Selenium Webdriver to log in to a site to do some tasks, I’m able to click login, but it doesn’t take the input I ask to type. This is code Selenium: import time import requests…
-
0
votes0
answers107
viewsSelenium in Headless mode does not find page elements (Python)
My code works normally without the headless activated, but as soon as I activate it stops working, it is as if it did not find the element on the page. The problem is not in the code of the…
-
0
votes1
answer41
viewsSelenium search functions act faster than page loading
I automatized so that they were inserted email and password, and then clicked on "Login", until then your well, but the button that should be clicked after the login has not finished loading and…
-
0
votes0
answers218
viewsFill in python/ Selenium form
I’m trying to fill out a form with python/Selenium but I can’t find the element to send the text. I can’t list the whole form, it’s private... Form: <td class="ml-FldCnt lo_22565 ml-BrdBottom"…
-
0
votes2
answers109
viewsInstagrambot: When trying to like instagram photo, class is not found
I started to develop an API for instagram. Everything is working normally, however the line code that like the publication is not finding the class. The class: Code to enjoy: def curtir_fotos(self,…
-
0
votes0
answers18
viewsIdentify an element in Seleniumchmore Drive if it does not appear to perform a function
Well it makes use of the for to pull the spreadsheet the phone numbers of the whatapp web page and send the message but in some case the phone may not exist, generating an error. I tried to do the…
-
0
votes1
answer98
viewsWeb Scraping with Webdriver and python Selenium
This program aims to download excel files to optimize time. But there are the filters to be filled before downloading the file, in these filters have the start date and end date, it must be the same…
-
0
votes0
answers34
viewsSelenium error while loading specific "Selenium Failed to resolve address" page
I am creating a python bot and when loading a page it shows in the console the following errors however it continues running however when I will try to execute anything involving the page it hangs…
python selenium selenium-webdriver web-scraping webdriverasked 3 years, 9 months ago OlopesMaster 1 -
0
votes0
answers30
viewsAutomation error in Selenium: Failed to change window status to 'normal'
When trying to execute a code using the Selenium library, I get the following error: <html><head></head><body></body></html> Traceback (most recent call last):…
python python-3.x selenium selenium-webdriver automationasked 3 years, 9 months ago Lucas Palmeira 13 -
0
votes0
answers55
viewsAutomation with Selenium Webdriver Python
I’m doing an automation. where I access one page to be able to go to another, after going to another page I try to click on an element, but even using Webdriverwait is showing that it was not found…
-
0
votes1
answer60
viewsHow to use Selenium to select a specific tag with a class common to other tags?
I’m wanting to make Crapping the most up-to-date data of this page. Every day she makes available the data of the current day and the next day. My main interest is in the data of the next day. When…
-
0
votes0
answers26
viewsHow to capture and compare a tag content, using Xpath, for automation using Selenium c#?
I would like to know how I can take the content of a tag, for an Xpath, and filter it, for example: I have the following code below, it basically goes to a website, and finds a table, and within…
-
0
votes1
answer46
viewsHow to reach a dropdown element through partial text in Selenium - python
How can I select an element from a dropdown through part of its name? I want to select an option based on values taken from a database, but these values do not have the full name of the elements of…
-
0
votes0
answers51
viewsSelect - Dropdown menu option not selected - Python Selenium
Hello, I’m doing a Python project using Selenium. When you select to choose an option from a dropdown menu, it is not selected. I’ve always done it this way and it’s always worked and I wonder if…
-
0
votes0
answers12
viewsHelp with Indexerror error: list index out of range
class Scraping: def pesquisar_nome(self): while True: try: self.browser.find_element_by_id('search-key').send_keys(self.Keys.CONTROL, 'a')…
-
0
votes2
answers68
viewsJoin cells with python
I am making a web scraping to take data from the best actions of the day and join in a table in an excel file. I am trying by code: from selenium import webdriver from webdriver_manager.microsoft…
-
0
votes0
answers10
viewsPython + Selenium + find_element
Good afternoon, I’m starting in Python and I’m making a web scraping robot for a site where I am obliged to inform user and password. I am using the Selenium and the part to inform user and password…
-
0
votes0
answers28
viewsHow to click the Instagram FOLLOW button with Selenium using python
Instagram is increasingly hindering the use of automation on your site. This code click on the first button with the text 'Follow' You can use this to find and click: from selenium import webdriver…
-
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
votes1
answer1019
viewsSelenium getattribute list c#
I’m having a problem creating a list with attributes follows HTML code: <div class="post clearfix" data-post-id="92842173">...</div> <div class="post clearfix"…
-
-1
votes2
answers1161
viewsSelenium IDE - Placeholder
I’m having trouble automating a test where I fill a field (placeholder) and save. When consulting what I saved, I see that the information entered in the field was not made. <input…
-
-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
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
votes1
answer66
viewsHelp with multiple Selenium Python Ivs
Friends, can you help me? I want to make web Scrap from a page and return all 8 texts from a span.text-Ellipsis. I made the following code: self.otherPlayers =…
-
-1
votes1
answer17
viewsPHP Selenium chromedriver logs out after logging in with no apparent error;
When finishing the login data input via Selenium the robot clicks login, the session is dropped at different points, sometimes before entering the registration screen, sometimes after login and…
-
-1
votes1
answer91
viewsC# press key multiple times
I’m using c# to navigate enttet buttons and textbox a page. For this I use the TAB key because the names of the page objects are dynamic, every time the site updates the id and class change. I’m…
-
-1
votes1
answer99
viewsFind widget from code
I have a table with several lines and in a column x I have a href containing what I need to click, but in this href only a gif is placed and so I can not capture by Partiallinktext. Is there any way…
-
-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
answer368
viewsExtract a text from a <td> with Selenium + VBA
I am trying to extract the 'PRESI-VALEC' value from this element in Selenium, I thought to use Xpath as follows: .Findelementbyxpath("//a[contains(text(), 'PRESI-VALEC')]/table/tbody/tr[2]/td[3]"),…
-
-1
votes1
answer258
viewsClick on a Selenium div
I need to click the 'LIVE NOW' button on the 'https://www.academiadasapostasbrasil.com/' page. I made the following script, but it is giving an error, could not be scrolled into view. Below is the…
-
-1
votes1
answer222
viewsPut except with bug name in python
I need to create a Try except, with two excepts, but do not know how to put the specific error in the first except, the error that appears this below, someone could help me? raise…
-
-1
votes1
answer90
viewsC# Selenium enter menu
I am automating access to a site, it opens browser, logs in, goes to a certain page and after that, a drop-down list appears to choose "Category" Inside this drop-down list, I have 3 items only, it…
-
-1
votes1
answer484
viewsHttp Request, with Certificate X509
Good morning, By accessing the following link :…
-
-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
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
answer351
viewsAdd profile to Webdriver Firefox
Good morning I am automating a website, and to run some features it is necessary to use an extension in the browser. First I was trying to add the extension to the web driver with the FirefoxOptions…
-
-1
votes1
answer241
viewsAllow access to the Chrome Filesystem API with Selenium using Python
I need a little help here! I need to set up selenium using the webdrive to click on a Chrome pop-up window. I’ve tried several alternatives I found, but none of them work. A company security policy…
-
-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