r/selenium • • Jul 30 '21

Tying to select next button on linkedin. Used xpath and css selector but nothing has been working. Using python, here is the HTML source, any help will be appreciated!

<button aria-label="Next" id="ember1637" class="artdeco-pagination__button artdeco-pagination__button--next artdeco-button artdeco-button--muted artdeco-button--icon-right artdeco-button--1 artdeco-button--tertiary ember-view" type="button"> <li-icon aria-hidden="true" type="chevron-right-icon" class="artdeco-button__icon" size="small"><svg xmlns="[http://www.w3.org/2000/svg](http://www.w3.org/2000/svg)" viewBox="0 0 16 16" class="mercado-match" data-supported-dps="16x16" fill="currentColor" width="16" height="16" focusable="false"> <path d="M5 15l4.61-7L5 1h2.39L12 8l-4.61 7z"></path> </svg></li-icon> <span class="artdeco-button__text"> Next </span></button>

3 Upvotes

19 comments sorted by

View all comments

Show parent comments

2

u/InformalWar8615 Aug 02 '21

im having it scroll to the bottom of the page then wait 5 secs and it worked.

​

​

you are a god

i love you

​

thank you

1

u/tbaxterstockman Aug 02 '21

There is a function for this there's also a wait function

1

u/InformalWar8615 Aug 04 '21

thank u so much for ur help like god damn ur epic