Getting different texts from the HTML DOM through Selenium and Python or vb net

0 votes

Apologies in advance had to hide info and thanks.

I need to extract information between tag p .  In such a way that first lines goes to column 1  , and subsequently. Any suggesstions As if right now if am able to parse first child and last child . However i also need to get info between then and keeping in consideration that the information may change and number of lines may increase between P tag.

May 4, 2020 in Selenium by Rock
• 120 points
894 views
Have a look at this: https://sqa.stackexchange.com/questions/35773/how-to-fetch-the-text-values-from-the-dd-tag-using-selenium
You would require to customize it to extract data from <p> tag.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
1 answer

Getting different texts from the HTML DOM through Selenium and Python

Try Below code: something = elem.find_element_by_xpath('./td[5]') text1 = driver.execute_script('return ...READ MORE

answered May 14, 2018 in Selenium by Samarpit
• 5,910 points
2,764 views
0 votes
1 answer

How are 'Selenium-server-standalone.jar' and 'Selenium Client & WebDriver' different from each other?

Okay, your understanding of "Selenium Server" & ...READ MORE

answered Apr 6, 2018 in Selenium by nsv999
• 5,500 points
2,624 views
+2 votes
1 answer

I want the console.log output from Chrome. I'm working with selenium on Python

So this is how you do it ...READ MORE

answered May 3, 2018 in Selenium by sniffy_god
• 780 points
40,505 views
0 votes
1 answer

Exclude text from `<script>` tag within the HTML DOM when calling `element.getText()`

As you have already identified the WebElement as element next you ...READ MORE

answered May 8, 2018 in Selenium by Samarpit
• 5,910 points
1,277 views
+1 vote
1 answer
0 votes
3 answers

How to click the search button using Selenium web driver and Python

You can try with tag. #this code will ...READ MORE

answered Apr 10, 2019 in Selenium by Matin
15,629 views
0 votes
1 answer

What are locators in Selenium and what are the different types of it?

Hi Divya, in Selenium Locators define an ...READ MORE

answered May 7, 2019 in Selenium by Abha
• 28,140 points
2,345 views
0 votes
1 answer

How driver.close() and driver.quit() commands are different from each other in Selenium?

Hello Pallavi, Selenium WebDriver’s close() command closes the ...READ MORE

answered May 7, 2019 in Selenium by Anvi
• 14,150 points
1,781 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP