S
S
swww2020-07-17 14:11:55
Python
swww, 2020-07-17 14:11:55

How to click pages using python selenium if the page has no class?

How to click pages with python selenium? Only the open page has a class, each page has an id. There can be more pages every day. The site itself is https://nb-bet.com/Results .
5f11871c2d56d944104225.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2020-07-17
@dimonchik2013

it is not clear what you need to
eat find_by_CSS, find_by_class and dofiga how to find
what do you do (code here) and what does not work / is not found?

S
ScriptKiddo, 2020-07-17
@ScriptKiddo

XPath
//*[starts-with(@id, 'MainContent_page')]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question