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 in Selenium by Rock
• 120 points
91 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,870 points
966 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,510 points
1,424 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
20,428 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,870 points
309 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
7,879 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
• 27,920 points
318 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,070 points
497 views
+1 vote
1 answer