selenium-webdriver Questions
2
Solved
i am trying to do web scraping using python using selenium but whenever i run the code i am getting the
error
[4824:524:0818/154954.605:ERROR:ssl_client_socket_impl.cc(959)] handshake failed; retur...
Shue asked 18/8, 2020 at 10:10
9
After maximizing the window by driver.manage().window().maximize();, how do I minimize the browser window in Selenium WebDriver with Java?
Aquileia asked 7/3, 2017 at 11:24
7
Solved
I am using nightwatch for e2etesting my app. One of the tests fails because it cannot scroll to the element that it is testing I suspect. Question do I need to scroll or is there another way to do ...
Cameroncameroon asked 28/3, 2017 at 1:57
14
Solved
I am new to C# and Selenium and I have pretty much made a number of scripts but there comes a problem when I make more than 1 method or more than 1 class single method and single class always runs ...
Felix asked 28/12, 2018 at 18:26
3
Solved
I'm using Selenium in Python (3.11) with a Firefox (107) driver.
With the driver I navigate to a page which, after several actions, triggers an OS alert (prompting me to launch a program). When thi...
Dramaturge asked 24/11, 2022 at 16:9
3
Solved
I am using Selenium WebDriver. Every link is opened in a new browser window. It is not convenient for me. How can I change it so that it opens just in new tab?
Tutuila asked 6/7, 2012 at 8:11
6
Solved
Plenty of answers for java and C#, but I can't find how to do it in javascript. Seems the API are different...
Whereas asked 3/3, 2014 at 17:54
0
I'm automating a web page with selenium-python where there's a hidden JavaScript button. The HTML is this:
<script type="text/javascript"> add_itemtitle("Restart"); </s...
Vinegarish asked 22/11, 2022 at 6:18
9
Solved
How is this achieved? Here it says the java version is:
WebDriver driver; // Assigned elsewhere
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("return document.title");
Bu...
Weinstein asked 3/6, 2011 at 16:12
12
I have just started Selenium using Python. And I'm facing the Attribute error issue.
Have Installed Python 3.6.5 and installed the latest selenium
packages(selenium-3.11.0)
Have also added Script...
Shepp asked 1/5, 2018 at 8:6
3
Solved
Is there any way to open a Firefox browser and then connect to it using selenium? I know this is possible on chrome by launching it in the command line and using --remote-debugging-port argument li...
Itinerary asked 21/5, 2022 at 17:28
9
I am following a Django TDD tutorial at:
http://www.marinamele.com/taskbuster-django-tutorial/taskbuster-working-environment-and-start-django-project
I get the following error when running 'all_use...
Daubigny asked 5/5, 2017 at 20:6
1
Solved
I've got the win32 drivers from
https://github.com/mozilla/geckodriver/releases
and placed the exe under the python38 folder
I'm running windows 11
OSError: [WinError 216] This version of %1 is not...
Sardinia asked 14/11, 2022 at 17:37
4
Solved
<div class="value test" />
I'd like to identify that web element. It only has this two classes defined.
I cannot do the following as className does not take a space separated value. What are ...
Aright asked 11/2, 2014 at 21:21
12
How can I get all elements from a drop down list? I used the code below:
List<WebElement> elements = driver.findElements(By.id("s"));
But I am always getting the first element only.
Antipyretic asked 27/5, 2013 at 7:28
3
Solved
I have a table (<table>) with values in each row (<tr>) from its body (<tbody>).
The value I would lile to print out is in the <span> inside a <div> tag.
Inspecting ...
Melatonin asked 4/8, 2015 at 14:50
8
Solved
I've been banging my head against the wall trying to select a option from a ajax enabled select2 select list with the selenium webdriver. I've managed to get it working with the IE webdriver but no...
Maltose asked 19/7, 2013 at 19:26
3
Till yesterday: The below code was working fine.
System.setProperty("webdriver.chrome.driver", "/Users../Applications/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("www.google...
Disappear asked 25/10, 2016 at 19:20
1
I have setup allure reporting system with testng using Maven. My boss wants reports in emailable format or PDF format. Is there any why to save allure report in pdf?
Viridi asked 13/6, 2017 at 15:42
5
Solved
I'm trying to drive part of a web map akin to Google Maps, where zoom in/out is done by scrolling while moused over. Ideally, I'd like to be able to do something like this:
someElement.scroll(-50)...
Gettogether asked 13/11, 2017 at 22:47
2
Solved
I am getting below error while executing selenium code.
Code:
driver.find_element_by_id(PlaylistManagerLocators.Folder_Name).send_keys(Keys.chord(Keys.CONTROL, "a"), "Auto_Folder5763")
Error:
...
Baugher asked 25/11, 2015 at 11:55
9
Solved
How would I get the browser version being used?
>>> from selenium import webdriver
>>> driver = webdriver.Firefox()
>>> print version <-- how to do this?
Firefox 12....
Checkered asked 23/9, 2012 at 20:54
4
Solved
I am using selenium to scrape an infinite scrolling page.
I am trying to use this code:
import time
import pandas as np
import numpy as np
from selenium import webdriver
from selenium.webdriver....
Cho asked 29/8, 2018 at 19:3
4
<div id="loader-mid" style="position: absolute; top: 118.5px; left: 554px; display: none;">
<div class="a">Loading</div>
<div class="b">please wait...</div>
</div...
Laundromat asked 28/9, 2014 at 16:21
3
Now I am using selenium to save a web page to image.
from selenium import webdriver
browser = webdriver.Firefox()
browser.get("some url")
browser.save_screenshot(img)
browser.quit()
But there is...
Wavelength asked 27/11, 2013 at 19:45
© 2022 - 2024 — McMap. All rights reserved.