How to get all fb profile links using selenium and python
I am trying to get all the links of users who liked my postuserName = driver.find_elements_by_xpath('//*[@id="reaction_profile_browser"]/div[2]') print(userName.text[0]) this gives me only one user...
View ArticleCopy signature from image to mouse movement
I'm trying to take a jpg image which is a black and white signature and using python to mimic a mouse movement that will sign it again.Currently I'm using cv2.imread(file_name, 1) to open the image...
View ArticleWhat is the meaning of WebElement element= driver.findElement(); in selenium?...
Below is the mouse hover code on the webpage. In the below code what is the "element" in the statement WebElement element = driver.findelement. and why we have driver inside parameter of statement...
View ArticleI have a use case where i need to keep the protractor session as well as the...
Similar to selenium using java, the session and the browser driver instance doesn't end on its own till user calls driver.quit(), however in protractor, the session as well as the browser instance ends...
View Articlei cant install selenium webdriver on pycharm win10
hello guys I have this problem trying to install a webdriver on pycharm (selenium ) need help thanksfrom selenium import webdriver Browser = webdriver.Firefox()Traceback (most recent call last): File...
View ArticleThe type or namespace SelectElement could not be found in selenium c#
driver.FindElement(By.Id("inputUsername")).SendKeys("aca"); driver.FindElement(By.Id("inputPassword")).SendKeys("123"); driver.FindElement(By.TagName("button")).Click(); SelectElement oSelect = new...
View ArticlePython, Selenium trying to target image by class xpath
I am trying to click the first image that appears on a page through python/selenium. The html code is: <div class="flex-none ph1 mt2 w-sixth-ns w-third"> <a class="aspect-ratio--1x1 relative...
View ArticlePython/Selenium text in td without span text
The html is<td> <i class="fas fa-arrow-down arrow-green"></i> <span class="fs_buy">Strong Buy</span> 1.11</td> if I use this codecccss...
View ArticleHow to get the last div element in c #?
There is such a piece of html.I need to get text from the last div element. For example, at the moment I get the ninth element like this:var textmsg =...
View ArticleDusk with Selenium not working with Laradock
I'm running Dusk to test my Laravel application. I've recently switched to Laradock which took some time to set it all up as I have little experience with Docker, but it all seems to be working now....
View Articleselenium button click not triggering inline javascript event handler
My HTML looks like below<div class="container"> <div class="jumbotron"> <h1 id="survey-title" class="display-5 text-capitalize">Your favourite candidate</h1> <hr...
View ArticleHow to read OTP from Email using Selenium WebDriver?
I am automating a webpage where for Registration, otp gets sent to Email for verification. I want to fetch OTP from Email & print on textfield.Please advice.
View Articlehow to get each child of an element in selenium?
I'm trying to get each game of this betting website (https://www.winamax.fr/paris-sportifs/live) I've tried several things on selenium but I only managed to get the div with all the games combined,...
View ArticleController code that has Model associated with it [closed]
I wanted to find out what does it really mean in java? and how to use this if I have a model with the same name as googleLogController.java.if ((googleLogController == null) || (googleLogController !=...
View ArticleFAILED CONFIGURATION: @BeforeMethod setUp
I am trying to Page object Model project in maven using selenium with java and Testng and i have added all the dependency in pom.xml but after running the script i am facing some problem saying FAILED...
View ArticleHow To Run Multiple Selenium Drivers Parallelly?
How can I run multiple selenium drivers parallelly to login into a instagram using text file inputs (email:password format).I would like to open n number of drivers and do in paralel to every one of...
View Articleget_cookies() returns empty list with Whatsapp web using Chrome in Selenium
I am trying to save my cookies for Whatsapp so I can run my program without having to scan a QR code every time.when using the following code, cookies returns an empty list after logging into...
View ArticleHow locate the pseudo-element ::before using Selenium Python
I'm using Selenium Python to locate label element.I want to use ::before to locate it,because this is a pop window.<div class="crow" grp="0" grpname="Pizza Size"> ::before <label...
View ArticleNoSuchElementException in python selenium(Incident)
When I am trying to click the Incident tab as highlighted in Image, it gives me an error. Below is the script.from selenium import webdriver driver = webdriver.Chrome() driver.maximize_window()...
View ArticleCan't click on the esri map using Selenium WebDriver java
I am working on the project which has esri map feature. I tried to click on a particular location of esri map using selenium webdriver java. But I failed. Can I click on the map using selenium...
View Article