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.get('https://www.google.co.uk/
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, which will probably
h
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.6857j0j1&sourceid=c
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
13 matches
Mail list logo