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
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
>
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
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 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
. 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
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
On 2021-05-29, Veek M wrote:
fixed div './/' vs '//'
--
https://mail.python.org/mailman/listinfo/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
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
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
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
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
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?
what should I do?
I don't mind to change to another driver
--
https://mail.python.org/mailman/listinfo/python-list
gecko ?
--
https://mail.python.org/mailman/listinfo/python-list
#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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Please help. Thanks.
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
&
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
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
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
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
> >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
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
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
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
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
Hi,
Is there anyway to start the selenium rc server within python code?
Thank you
Jo
--
http://mail.python.org/mailman/listinfo/python-list
57 matches
Mail list logo