I have a page with 25 Companies located in same class. Here is the link for the website - This is the HTML code:
<section class="rslwrp">
<section class="jbbg">..</section>
<section class="jbbg">..</section>
<section class="jbbg">..</section>
<section class="jbbg">..</section>
<section class="jbbg">..</section>
<section class="jbbg">..</section>
******and so on******
I am not sure, how I make selenium click one class and then browser.back() then move to second then again browser.back() and then to third and so on. For n number of times.
I am using,
browser.find_element_by_xpath('//section[@class="jbbg"]/section[2]/section[1]/aside[1]/p[1]/span/a').click()
Could someone please advise. Thanks in advance for your help.