Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-16 Thread dn via Python-list
The issues illustrated likely have less to do with Python than with Selenium (or even Firefox - depending how far back we need to go). That and our fate with the many web-search engines prioritising 'authoritative sources' in their results. Such definition includes 'clicks' ov

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-16 Thread Akkana Peck
jkk writes: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where I can find the documentation that explains how >

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-14 Thread jkk
Sorry, this was simply a typo. Disregard the first "browser = " Again, I'm hoping someone knows where to find "best coding practices" for newer versions of python 3.8+ > On 10/13/2021 6:20 PM Tony Oliver wrote: > > > On Wednesday, 13 October 2021 at 16

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread Tony Oliver
On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where

Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread jkk
Selenium 3.141+ python 3.8+ ubuntu 20.04 or windows 10 I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several DepreciationWarnings. Can someone point me to where I can find the documentation that explains how to to remedy these warnings. What are the new prefer

Re: Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
. but the script is almost complete and cleaned up.. Basically forgot that div.xpath('// doesn't use div as the root window - thing starts the lookup from the very beginning. You got to .// My "Next Page" is creating problems - asked here as well: https://ww

Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
out - I'm stuck. import re, sys, time from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import StaleElementReferenceException from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdrive

Re: Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
On 2021-05-29, Veek M wrote: fixed div './/' vs '//' -- https://mail.python.org/mailman/listinfo/python-list

Re: Selenium finds object that is interactible but says otherwise

2021-02-06 Thread dn via Python-list
On 07/02/2021 08.21, Philipp Daher via Python-list wrote: > Hello, > > > I recently programmed some code for a webdriver with selenium. > I asked the program to find an input tag, which is interactible, with this: >     > searchbar=driver.find_element_by_class_name(&quo

Selenium finds object that is interactible but says otherwise

2021-02-06 Thread Philipp Daher via Python-list
Hello, I recently programmed some code for a webdriver with selenium. I asked the program to find an input tag, which is interactible, with this:     searchbar=driver.find_element_by_class_name("ut-player-search-control--input-container") then i ask it to send keys, which has worked

Re: ElementNotInteracable Exception for Selenium Chrome webdriver

2020-06-06 Thread Kushal Kumaran
emagnun writes: > I'm using latest python and latest Selenium chrome webdriver. I'm > trying to have a simple code to search in youtube but I'm getting the > below error. Can anyone help me? > > File "sea

ElementNotInteracable Exception for Selenium Chrome webdriver

2020-06-06 Thread emagnun
I'm using latest python and latest Selenium chrome webdriver. I'm trying to have a simple code to search in youtube but I'm getting the below error. Can anyone help me? File "search.py", line 8, in searchBox.click() Selenium.common.exceptions.ElementNotInteractableEx

Re: on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting error

2018-09-10 Thread dieter
alon.naj...@gmail.com writes: > on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium > and getting an error the Firefox browser is opened automatically :) it just > don't work I'm not getting the stock value on the print BTW it works on my PC

on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting error

2018-09-10 Thread alon . najman
hi , on rasberry pi 3 python 2.7 , trying to run code on geckodriver with selenium and getting an error the Firefox browser is opened automatically :) it just don't work I'm not getting the stock value on the print BTW it works on my PC with ChromeDriver - Traceback (most recent

I try to run selenium with firefox on RasberyPi3 ARM7 , any idea if it possible?

2018-09-09 Thread alon . najman
I try to run selenium with firefox on RasberyPi3 ARM7 , any idea if it possible? what should I do? I don't mind to change to another driver -- https://mail.python.org/mailman/listinfo/python-list

Re: geckodriver not working while using Selenium

2017-06-30 Thread aa
gecko ? -- https://mail.python.org/mailman/listinfo/python-list

geckodriver not working while using Selenium

2017-06-30 Thread devilsgrin94
#I am using the code below to set preferences so I can use Selenium. import os from selenium import webdriver fp = webdriver.FirefoxProfile() fp.set_preference("browser.download.folderList",2) fp.set_preference("browser.download.manager.showWhenStarting",Fals

Re: Visit All URLs with selenium python

2017-04-13 Thread John Gordon
In <43f70312-83ba-457e-a83f-7b46e5d2a...@googlegroups.com> Nicole writes: > it just visit first url not all .. Can anybody help how to fix that.. Have you tried some basic debugging, for example printing p_links to verify that it contains what you expected, and then printing each url in the loo

Re: Visit All URLs with selenium python

2017-04-13 Thread Nicole
I have used 0 to 10 sec time sleep but it is not working.. please help me otherwise my assignment would get mark 0 -- https://mail.python.org/mailman/listinfo/python-list

Re: Visit All URLs with selenium python

2017-04-13 Thread Nicole
browser.get('https://www.google.co.uk/search?q=Rashmi&oq=Rashmi&aqs=chrome..69i57j69i60l3.6857j0j1&sourceid=chrome&ie=UTF-8#q=Rashmi+Custom+Tailors') time.sleep(5) try: p_links = browser.find_elements_by_css_selector(' div > h3 > a') url_lis

Re: Visit All URLs with selenium python

2017-04-13 Thread Nicole
Not actually that's not.. You said there could be a Problem in HTML that's why I tested it on a new URL but it just viting the first URL not all.. Please help.. -- https://mail.python.org/mailman/listinfo/python-list

RE: Visit All URLs with selenium python

2017-04-13 Thread Deborah Swanson
Nicole wrote, on Wednesday, April 12, 2017 11:30 PM > > Here you can see now > > from selenium.webdriver.firefox.firefox_profile import FirefoxProfile > import random > from selenium import webdriver > from selenium.webdriver.common.keys import Keys > > browser.ge

RE: Visit All URLs with selenium python

2017-04-12 Thread Deborah Swanson
Nicole wrote, on Wednesday, April 12, 2017 11:05 PM > > Hi Deborah, >I checked again selecting css there found 11 URLS and I > printed it is printing all urls but it visits the first url not all.. Hmm. Sounds like you've changed your code in some way. Either changing the web page you're poi

RE: Visit All URLs with selenium python

2017-04-12 Thread Deborah Swanson
Nicole wrote, on Wednesday, April 12, 2017 11:05 PM > > Hi Deborah, >I checked again selecting css there found 11 URLS and I > printed it is printing all urls but it visits the first url not all.. I'm just guessing again, but time.sleep(4) could be too long a time to sleep, especi

RE: Visit All URLs with selenium python

2017-04-12 Thread Deborah Swanson
Nicole wrote, on Wednesday, April 12, 2017 11:03 PM > > from selenium.webdriver.firefox.firefox_profile import > FirefoxProfile import random from selenium import webdriver > from selenium.webdriver.common.keys import Keys Ok, that gives us a clue what you're working with, wh

Re: Visit All URLs with selenium python

2017-04-12 Thread Nicole
Here you can see now from selenium.webdriver.firefox.firefox_profile import FirefoxProfile import random from selenium import webdriver from selenium.webdriver.common.keys import Keys browser.get('https://www.google.co.uk/search?q=Rashmi&oq=Rashmi&aqs=chrome..69i57j69i60l3.6857

Re: Visit All URLs with selenium python

2017-04-12 Thread Nicole
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile import random from selenium import webdriver from selenium.webdriver.common.keys import Keys -- https://mail.python.org/mailman/listinfo/python-list

Re: Visit All URLs with selenium python

2017-04-12 Thread Nicole
Hi Deborah, I checked again selecting css there found 11 URLS and I printed it is printing all urls but it visits the first url not all.. -- https://mail.python.org/mailman/listinfo/python-list

RE: Visit All URLs with selenium python

2017-04-12 Thread Deborah Swanson
Nicole wrote, on Wednesday, April 12, 2017 9:49 PM > > browser.get('https://www.google.co.uk/search?q=Rashmi&oq=Rashm > i&aqs=chrome..69i57j69i60l3.6857j0j1&sourceid=chrome&ie=UTF-8# q=Rashmi+Custom+Tailors') > time.sleep(5) > > try: > p_links = > brow

Visit All URLs with selenium python

2017-04-12 Thread Nicole
browser.get('https://www.google.co.uk/search?q=Rashmi&oq=Rashmi&aqs=chrome..69i57j69i60l3.6857j0j1&sourceid=chrome&ie=UTF-8#q=Rashmi+Custom+Tailors') time.sleep(5) try: p_links = browser.find_elements_by_css_selector('div > h3 > a') url_list

need help getting error when trying selenium with python

2017-01-12 Thread Ansuman Suryaprakash
pyhton version 3.5 selenium version 3.0.2 firefox version 50.1.0 pyhton code: from selenium import webdriver browser = webdriver.Firefox() browser.get('http://127.0.0.1:8000') assert 'Django' in browser.title Error: D:\django_learning_TDD>py functional_tests.py Trac

unexpected rerun program itself when using cv2 and selenium

2016-09-14 Thread meInvent bbird
unexpected rerun program itself when using cv2 and selenium when a script, it is expected to run once and stop but it start a new browser again when using selenium and cv2 d, bbox, filename) File "C:\Python27\lib\site-packages\pyscreenshot\procutil.py", line 28, in run _in_ch

How do I automatically download files from a pop up dialog using selenium-python?

2016-09-09 Thread John
Please help. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

{Spam?} Re: need help with selenium

2015-09-15 Thread Nagy László Zsolt
After clicking on submit button, a message is displayed on the same page whether login was successful or not. However after clicking on submit button, I lose control over the web page. I can't use any selenium functions now like 'driver.find_element_by_name()'. You need to

need help with selenium

2015-09-14 Thread shiva upreti
I wrote this code in python for submitting a login form: from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get('some url') elem = driver.find_element_by_name("username") elem.send_ke

Selenium

2015-09-14 Thread shiva upreti
I wrote this code in python for submitting a login form: from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get('some url') elem = driver.find_element_by_name("username") elem.send_k

Re: Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread Veek M
dieter wrote: > Once the problems to get the "final" HTML code solved, > I would use "lxml" and its "xpath" support to locate any > relevant HTML information. Hello Dieter, yes - you are correct. (though I don't think there's any auth to browse - nice that you actually tried) He's using jsonP an

Re: Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread dieter
Veek M writes: > I tried scraping a javascript website using two tools, both didn't work. The > website link is: http://xdguo.taobao.com/category-499399872.htm The relevant > text I'm trying to extract is 'GY-68...': > > > > > > id="4002-6778075404" data-spm-anchor-i

Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread Veek M
trying to match the class="item " bit as a preliminary venture: from pyvirtualdisplay import Display from selenium import webdriver import time display = Display(visible=0, size=(800, 600)) display.start() browser = webdriver.Firefox() browser.get('http://xdguo.taobao.com/cate

Open a Url in new tab and tab switching in IE using python and selenium

2015-05-05 Thread shweta kaushik
Hi All, I am trying to open a new tab in IE10 and selenium 2.45. It is able to open a new tab using pyrobot. But when i am trying to open url in new tab, it is getting opened in first tab. Focus is not set to second tab and hence it is not working and also switching of tab is not working. please

Re: Save session Selenium PhantomJS

2015-03-28 Thread Juan C.
Issue resolved. My code was working, the problem was PhantomJS 2.0, used 1.9.8 and now I have the 'cookies.txt' file as expected! -- https://mail.python.org/mailman/listinfo/python-list

Save session Selenium PhantomJS

2015-03-26 Thread Juan C.
Objective: Save the browser session/cookies to share them in multiples script execution. I currently have this working using ChromeDriver: chrome_options = Options() chrome_options.add_argument("user-data-dir=" + os.path.dirname(sys.argv[0])) browser = webdriver.Chrome(chrome_options=chrome_optio

Problems with selenium 2 and python 3.4.1

2014-10-22 Thread novozhiloffvadim
any help or thoughts would be appreciated. from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException baseurl = "http://www.somesite/login"; email = input(&qu

Re: Launching Helium: A Selenium wrapper that makes web automation 50% easier

2013-12-16 Thread Michael Herrmann
On Monday, December 16, 2013 12:40:56 PM UTC+1, larry@gmail.com wrote: ... > Is this open source? No. We quit our daytime jobs to work on this project and need the income to sustain our development... -- https://mail.python.org/mailman/listinfo/python-list

Re: Launching Helium: A Selenium wrapper that makes web automation 50% easier

2013-12-16 Thread Larry Martell
On Mon, Dec 16, 2013 at 5:17 AM, Michael Herrmann wrote: > Hi everyone, > > I'm working for a startup called BugFree Software and would like to announce > that today we're launching our second product! > > Helium is a library that wraps around Selenium to simplify web

Launching Helium: A Selenium wrapper that makes web automation 50% easier

2013-12-16 Thread Michael Herrmann
Hi everyone, I'm working for a startup called BugFree Software and would like to announce that today we're launching our second product! Helium is a library that wraps around Selenium to simplify web automation. It does away with many of the technicalities involved with web scri

Re: Selenium Webdriver + Python (How to get started ??)

2013-04-23 Thread Santi
On Monday, April 22, 2013 8:24:40 AM UTC-4, arif7...@gmail.com wrote: > Note that:- I have some experience of using Selenium IDE and Webdriver > (Java). but no prior experience of Python. > > > > Now there is a project for which I will need to work with webdriver + Python. &

Selenium Webdriver + Python (How to get started ??)

2013-04-22 Thread arif7d . auto
Note that:- I have some experience of using Selenium IDE and Webdriver (Java). but no prior experience of Python. Now there is a project for which I will need to work with webdriver + Python. So far I have done following steps.. Install JDK Setup Eclipse download & Installed Python v3

Python selenium web driver

2011-10-07 Thread Yesudian Rajkumar Johnkoilpillai
Hi, I am looking into using Selenium 2.0 for launching Firefox and browse few sites. I am using Python APIs to talk to webdriver on Ubuntu 11.04. I am basically trying to follow the steps mentioned at http://pypi.python.org/pypi/selenium . When I run the program, it throws error as below

selenium pyvirtualdisplay script on remote server

2011-10-05 Thread sajuptpm
Hi Friends, Here the isuue is i can't find the "li" element. that is because that element is out of display, so i adjust scroll bar or do focus around that area to get that element via find_element_by_id("loc_opt") I already tested with scroll bar and focus and its working fine in my laptop. But

Re: Selenium/SauceLabs OpenSpace at Pycon

2010-02-04 Thread Paul Rubin
a...@pythoncraft.com (Aahz) writes: > Raymond Hettinger wrote: >>For those who are interested, the Sauce Labs team, >>http://saucelabs.com/about/team, is hosting two free tutorial open >>space sessions at Pycon in Atlanta. > > Congrats on the new job! Yes, cool! I don't recognize several of the

Re: Selenium/SauceLabs OpenSpace at Pycon

2010-02-04 Thread Raymond Hettinger
> >For those who are interested, the Sauce Labs team, > >http://saucelabs.com/about/team, is hosting two free tutorial open > >space sessions at Pycon in Atlanta. [Aahz] > Congrats on the new job! Thanks. I'm really enjoying working with Jim Baker and Frank Wierzbicki. Raymond -- http://mail

Re: Selenium/SauceLabs OpenSpace at Pycon

2010-02-03 Thread Aahz
In article , Raymond Hettinger wrote: > >For those who are interested, the Sauce Labs team, >http://saucelabs.com/about/team, is hosting two free tutorial open >space sessions at Pycon in Atlanta. Congrats on the new job! -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncra

Re: Selenium/SauceLabs OpenSpace at Pycon

2010-02-03 Thread Terry Reedy
On 2/3/2010 1:42 PM, Raymond Hettinger wrote: For those who are interested, the Sauce Labs team, http://saucelabs.com/about/team, is hosting two free tutorial open space sessions at Pycon in Atlanta. In the short session, people bringing their laptops should be able to record a web session in t

Selenium/SauceLabs OpenSpace at Pycon

2010-02-03 Thread Raymond Hettinger
or of Selenium (an open source web app testing tool http://seleniumhq.org/ ). Several familiar names from the Python community will also be on-hand: http://saucelabs.com/about/news/feb-03-2010 Raymond -- http://mail.python.org/mailman/listinfo/python-list

Re: starting selenium rc server from python code

2009-08-19 Thread Steven D'Aprano
On Wed, 19 Aug 2009 21:34:22 -0700, jo wrote: > Hi, > Is there anyway to start the selenium rc server within python code? How would you start the selenium rc server outside of Python code? -- Steven -- http://mail.python.org/mailman/listinfo/python-list

starting selenium rc server from python code

2009-08-19 Thread jo
Hi, Is there anyway to start the selenium rc server within python code? Thank you Jo -- http://mail.python.org/mailman/listinfo/python-list