Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 98221 articles
Browse latest View live
↧

Click on 'open link in a new window' selenium python

from selenium import webdriver from selenium.webdriver import ActionChains firefox_profile =webdriver.FirefoxProfile() firefox_profile.set_preference("browser.helperApps.neverAsk.saveToDisk",...

View Article


Soundcloud bot automation

I am trying to create a bot that automates some specific tasks on soundcloud.com. I have tried using selenium but soundcloud detects it and ultimately blocks my program. Before going any further, I was...

View Article


In HTML using the selenium framework, how can I check if text is present on...

I have code, where I find some text: findmenu = self.driver.find_element_by_xpath(("//span[contains(text(),'Localidad')]")) To verify the presence of an element on the page.In some cases, the search...

View Article

Get multiline text from textarea with Selenium VBA

I need to get multiline text from textarea of web-page. I see in Chrome developer tool that text is stored in value property of textarea. I am using below codeSet WebElemTextBox =...

View Article

class name and then the tag name contains the distinguish text

I have class name active and then there is unique text called active text in span(which is nested). Class name active is the unique among other class names then nested text is unique. How would i click...

View Article


Unable to obtain all HTML content of webpage using BeautifulSoup,Selenium

I am trying to extract all the locations of Ports from this web page: https://directories.lloydslist.com/var/recordset/65237/pos/11I started with basic code using BeautifulSoup: url...

View Article

Scrape facebook profile image link python3 selenium

Question is hot to get facebook profile image link using python3, seleniumWhen inspecting profile photo element it gives:<image style="height: 168px; width: 168px;" x="0" y="0" height="100%"...

View Article

How to make selenium open https page, which displayed manually and not...

Browsing with chrome to web site with htpps connection manually is available and display the site. Browsing same site by selenium automated test, doesn't display the page, display empty page. If i load...

View Article


How to get Map object from Javascript into Python

I'm using python selenium, running an execute_script to get value pairs from javascript into python. I can return normal variables just fine, but I'm getting None or an empty array whenever I try to...

View Article


Selenium Webdriver C# does not navigate after publishing to exe

Writing a script that does several things for automating a web process. Everything is the code is functionally sound and works perfectly within Visual Studio. Once the code is published for...

View Article

I want moving test-output folder from project to other directory where should...

I want to move test-output folder from project to other directory that I don't need every time in selenium where should I put that moving folder code in set up or tear down?

View Article

TestNG - Implementation of sequential and parallel test scripts

I was creating a demo framework for Open MRS Application using POM design. The credentials for the Application are "admin/Admin123" I created the following 3 Classes: 1) Login tests: Which contains all...

View Article

How would run a bot in PyCharm?

Ok, so I was running my working python script/bot through Terminal using IDLE as a text editor... I realized that PyCharm would be much faster and much more efficient. Though I still do not know a lot...

View Article


How to get text outside the div with selenium?

<div class="amlocator-store-information" style="" xpath="1"> <div class="amlocator-title" style="">The Better Health Store</div> 2420 E-Stadium Ann Arbor MI 48104 <br><br>...

View Article

Chrome failed to start in docker container after selenium update

I have E2E tests running in a docker container. After Friday's update of selenium/node-chrome it would not work anymore. I have tried to use older versions of selenium/node-chrome but it won't work. I...

View Article


Can't locate element on Microsoft Sign In page

I'm currently trying to locate Microsoft Sign In page's email input box by using xpath (others as well) but after many tries I still can't locate the correct element for it.After copying the element...

View Article

login to Yahoo using Python Selenium

My question actually is the same as this one login to yahoo email account using Python Selenium webdriveBut since Yahoo has changed its login form UI, the answer provided in the above link doesn't work...

View Article


selenium and lxml - how to set html?

I have a script that parses a document and changes form values with lxml. Now I want to use selenium to navigate to the page and do it.Unfortunately selenium doesn't seem to be advanced enough support...

View Article

Selenium Element not Visible Exception : Despite Using Correct XPATH and...

$x("//input[contains(@id,'default-column')]") - returns 10 elementspublic List<WebElementFacade> defaultFieldsCheckBox; $x("(//input[contains(@id,'default-column')])[1]") - returns 1...

View Article

Unable to get the handle of a newly opened window in IE using java

I am clicking on a button in my code "Go" which opens a new window. When I check the task manager I can see the instances of IE as 2 but getWindowHandles() is unable to get the handle of the newly...

View Article
Browsing all 98221 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>