Skip to content

Update main.py#16

Open
Nodnarb1192 wants to merge 1 commit intocoding-ai:masterfrom
Nodnarb1192:master
Open

Update main.py#16
Nodnarb1192 wants to merge 1 commit intocoding-ai:masterfrom
Nodnarb1192:master

Conversation

@Nodnarb1192
Copy link
Copy Markdown

Update for Linkedin page changes and selenium update

update for linkedin page changes and selenium update
Comment thread main.py
total_pages = find_pages[len(find_pages)-1].text
total_pages_int = int(re.sub(r"[^\d.]", "", total_pages))
get_last_page = self.driver.find_element_by_xpath("//button[@aria-label='Page "+str(total_pages_int)+"']")
get_last_page = self.driver.find_element(By.XPATH, "//button[@aria-label='Page "+str(total_pages_int)+"']")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exception has occurred: NoSuchElementException
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@aria-label='Page ']"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants