Issue with python WebDriverWait on youtube page
I'm trying to create a code that automatically presses the youtube video button "Skip Ad" if it is on the page, only if the page is playing a youtube video.To do this I used the selenium webdriver...
View ArticleSelenium Cant Find Element On New Window
Selenium finds all the elements I need it to find until I click a button that redirects to a new window. This Is The Codeoptions = Options() options.binary_location = "C:\Program Files...
View ArticleRead Data from excel sheet using data provider annotation
can anyone help me pleaseI have multi test cases lets say 20 test case, with multi methods to run these test cases "Page Object Model" and using Data driven framework to read the data from excel sheet,...
View ArticleFind classes within element while scraping
I want to retrieve the download links on a soccer matches website. Using the following script I find the location of the surrounding element:from selenium import webdriver driver = webdriver.Chrome()...
View ArticleUploading file in Selenium using sendKeys() is not working
I am unable to upload files using sendKeys(). This is my codedriver.findElement(By.xpath(Locators.browseFlagIconBtn)).sendKeys("D:\\Images\\icons.png"); I have an input tag of type file for file...
View ArticleHow to click all replies in youtube
I am trying to click all 'more-replies' and get all replies from one youtube page. Now I can get all comments, but replies are problem.So I tried to do this in 2 waysFirst:# -*- encoding: utf-8 -*-...
View ArticleIs there a solution for taking screenshot in python selenium webdriver along...
I'm using Python Selenium headless browser(chrome) and I need to take screenshot of entire screen(webpage + timestamp). Is there any solution for this?
View ArticleC# Appium AppiumOptions error The capabilities platform name are standard...
I am writing a first test in Appium using AndroidDriver with C#. When I write this linedriver = new AndroidDriver<AndroidElement>(url, options); I get the...
View Articlehow to print all HTML Element after using selenium to login (SPA website)
i log in by selenium and then wait the page to change html element then using bs4 to find the class. dont know if it has something to do with single page applicationimport time from selenium import...
View ArticleHow to select hidden dropdown list inside a button that becomes visible when...
I am writing a selenium program to parse reviews from costco webpage. https://www.costco.com/irobot-roomba-985-wi-fi-connected-robot-vacuum.product.100428595.htmlI want to sort the reviews and fetch...
View ArticleHow to click on "Launch Application" dialog in Firefox with Selenium?
I have a Selenium test, in which I need to click on a "cliclient://" link, and that link needs to open an application. Now, I need to create a new profile for each test, and I don't know how to bypass...
View ArticleTrying to create a new youtube channel using selenium, but javascript is...
I am trying to use selenium to create a new youtube channel. I am able to login, set a channel name, then click the create channel button; however, it says I am not able to create a channel. I have...
View ArticleIs there a more broad way to get the src in a webelement through selenium?
I have pulled 'src' from other webelements before however this one seems to elude me. I am trying to grab all the links to all the images on this webpage. However, even though the webelement is...
View ArticleSelecting value from dropdown using Python + Selenium
Please help me with selecting a value from the dropdown. I was able to login to the website but unable to select a value from the dropdown list after logging in. I had tried few solutions/suggestions...
View ArticleHow to update HTML for AJAX pages in Python Selenium
I am trying to extract HTML from a page and repeat this action in a loop after changing the dropdown on the page. Below is a simplified version of my code. The problem is that after changing the...
View ArticleHow to properly distribute an application that uses selenium?
Selenium, as far as I know, has the additional requirement of manually installing the driver for the specific browser you want to use. If I intend to distribute an application that uses selenium, how...
View ArticleCelery on Windows: OSError: [WinError 6] The handle is invalid
Need help with Celery. I have been using Celery 4.3.0 with python 3.7.4 on windows server 2012, using AWS Redis queue. I have only one machine running the workers with concurrency of 5. Each of the...
View ArticleWhat is the xpath of gmail password field in firefox browser [closed]
I am trying to automate gmail in firefox browser using selenium webdriver and firebug.Selenium is not identify the xpath of the password fileld.what is the xpath of the password field.
View ArticleSelenium test scripts to login into google account through new ajax login form
I am able to write scripts to give my email address into email element. But once click next through scripts Google uses ajax to replace that email element to password element dynamically. This is where...
View ArticleGmail login using selenium webdriver in java
import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver;...
View Article