Automated Gmail Logins
Gmail has stopped the use of automated browser sign in. Is there any way to bypass it?I am using selenium with a chrome driver along in python.This is the error:You are trying to sign in from a browser...
View ArticleHow to simulate touch / tap on Selenium Firefox C#
I'm trying to simulate tap on screen on Selenium WebDriver Firefox (Geckodriver). There is a script writes if you have clicked (by mouse) or tapped to screen. I can "click" on it by Selenium without...
View ArticleScraping online newspaper search results with Scrapy and Selenium
I think this might be a long shot, but people have always been really helpful with the questions I've posted in the past so I'm gonna throw this out anyway. I am trying to use Scrapy to get search...
View ArticleEclipse is not able to find chrome library
I am pretty new to Selenium world. I have been stuck with this code of opening a basic facebook page and it keeps throwing an error saying:Starting ChromeDriver 78.0.3904.105...
View ArticleHow do I upload image by whatsweb with python3 selenium?
def send_whatsapp_msg(phone_no,text): driver.get("https://web.whatsapp.com/send?phone={}&source=&data=#".format(phone_no)) #element1 =...
View ArticleSelenium C# Click() cant get to another URL while using Jenkins
I have 30 tests working locally with Selenium C# in headless mode.The problem occurs, when I try to use Jenkins. The message is "Unable to locate element". It took lots of time to understand that the...
View ArticleMaking an ajax call on beforeunload doesn't fire from selenium chromedriver?
I am binding the beforeunload event of a page to make a quick synchronous ajax call (not best practice but it is essentially a ping so we are trying it as an idea). $(window).bind('beforeunload',...
View ArticleChromedriver on Heroku/Rails: Unable to load application:...
I'm getting the error above when trying to run Selenium on Heroku, RoR app. I've added the buildpacks heroku-buildpack-google-chrome and heroku-buildpack-chromedriverThen added the config...
View Articleelement raise TimeoutException
I have problem with test in selenium, I tried to use other wait method and nothing works.html<span class="MuiTypography-root MuiListItemText-primary MuiTypography-body1">Sign Out</span>...
View ArticleDrag and drop not working using Actions when draggable=true using Selenium...
Elements are identified correctly and i can see mouse moving between this two elements but drag and drop not happening. Ui not displayed any highlights when click and hold. No errors also.I have tried...
View ArticleSelenium + Python Click on Search Selects but Does Not Click
I have all of my options selected on this form and have the following code to click the Search button:WebDriverWait(wd, 10).until(EC.element_to_be_clickable((By.ID, "alMatchFrequencies"))).click() I...
View ArticleXPath for all the //a[@href] tags in a div with the first /li tag text...
I have to find all the URLs from a page in categories. The categories are the first <li> tag in a <div> tag. The page looks like below.<div class="c1"> <ui> <li...
View ArticleSelenium: are there events like "New element inserted in DOM"
The site I am testing has a notification logic that brings up a message at the bottom of the screen, keeps it there for one second and then sends it away. When the notification is displayed it hides...
View Articletestng - what is the maximum value for priority for @Test annotation
I have ordered the automated test in a particular sequence by using the priority=xxx in @Test annotation. For the last class to be tested, the priority values started with 10201 and above. However,...
View ArticleSelenium Implicit/explicit waits doesn't work
I am using chrome browser. In the "test" method, I set up implicit wait for 60 seconds. I don't see browser waiting for 60 seconds at all. Is there any global setting that has to be done?I tried...
View ArticleHow can I access selenium running on a remote server?
I'm running tests for an application directly on an ubuntu staging server. In order to troubleshoot some failing tests, I'd like devs to be able to access this selenium instance running on the server,...
View Articleunable to get list of products by using xpath
Task- to print all the product description and price from AMAZON I Used list and iterate them by using for loopHappen - It only print one product info and price and print them till the for loop matches...
View ArticleError message: "'chromedriver' executable needs to be available in the path"
I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/After downloading the zip...
View ArticleI want to print the text from label under div in selenium. Can you guys help...
I want to get the text "Pin file not supported" and i have to use that text in if else statement in selenium. Can you guys help me out?<div class="modal-dialog" role="document"> <div...
View ArticleHow to do pull to refresh in appium?
I need add pull to refresh functionality and there is no elements found on the page. How to achieve this functionality. Any help will be appreciated
View Article