Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to get visible text of Select Drop down
Post: RE: How to get visible text of Select Drop down

Thanks for replying. Yes I am using selenium. And I got the solution using get_first_seleted_option()
ankitjindalbti Web Scraping & Web Development 2 2,759 Jun-03-2019, 12:35 AM
    Thread: How to get visible text of Select Drop down
Post: How to get visible text of Select Drop down

There is a function named select_by_visible_text() to select an option in <select> drop down. Is there a similar function something like get_visible_text() to get the Visible text of selected op...
ankitjindalbti Web Scraping & Web Development 2 2,759 Jun-02-2019, 05:03 PM
    Thread: Select Drop down is not working properly
Post: RE: Select Drop down is not working properly

Why its "maybe". It should be same across platforms and browsers.. Moreover in my case, it is skipping the element at index 2 entirely.. No value of index is able to fetch it
ankitjindalbti Web Scraping & Web Development 3 2,492 Jun-02-2019, 04:56 PM
    Thread: Select Drop down is not working properly
Post: Select Drop down is not working properly

On a certain web page, I am trying to select the various options in <Select> drop down using select_by_index() function. But the surprising thing is that element at Index is not getting returned...
ankitjindalbti Web Scraping & Web Development 3 2,492 Jun-02-2019, 07:37 AM
    Thread: How to handle tables splitted across multiple web pages
Post: RE: How to handle tables splitted across multiple ...

Thanks for your reply. It is working now after I used sleep() function.. The structure of table is same on all pages. Except that it needs to wait for a few seconds before the last page is loaded.
ankitjindalbti Web Scraping & Web Development 2 2,114 Jun-02-2019, 07:33 AM
    Thread: How to handle tables splitted across multiple web pages
Post: How to handle tables splitted across multiple web ...

Hi I am trying to print value from a table using the following code row = browser.find_element_by_xpath("//table[@cols='8']/tbody/tr[last()]/td[2]/div").text print(row) But the table is splitted acr...
ankitjindalbti Web Scraping & Web Development 2 2,114 Jun-01-2019, 03:59 PM
    Thread: Ajax and Selenium
Post: RE: Ajax and Selenium

Problem solved now by using fuction staleness_of()
ankitjindalbti Web Scraping & Web Development 3 3,361 May-31-2019, 03:40 PM
    Thread: Ajax and Selenium
Post: RE: Ajax and Selenium

I am getting this error now: AttributeError: 'module' object has no attribute 'stalenessOf'
ankitjindalbti Web Scraping & Web Development 3 3,361 May-30-2019, 01:30 AM
    Thread: Ajax and Selenium
Post: Ajax and Selenium

I am trying to automate filling a form on a website. There are two dropdowns like Country and States. Based on the Country selected in first drop down, the values in second drop down are loaded using ...
ankitjindalbti Web Scraping & Web Development 3 3,361 May-28-2019, 10:06 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020