ERROR IN SELENIUM - PYCHARM

26 views
Skip to first unread message

Austine Okenu

unread,
Sep 1, 2022, 12:38:29 AM9/1/22
to seleniu...@googlegroups.com

Hi, Please I need assistance to figure this out.

I wrote a simple selenium automation script using python to target the below web element, but I keep getting this error in the image below.
The script is able to call the url and login as well. but after login it is supposed to call the below web element.
The web element is one of the navigation menu buttons.
Please advise.



image.png

Austine Okenu

Mobile number: +2348025959940, Email: austin...@gmail.com

Aaron Kahn

unread,
Sep 1, 2022, 1:05:54 AM9/1/22
to seleniu...@googlegroups.com
Hi 

You can use the a tag element and click for navigating to the link 

Hope that helps if you are still facing problem pls let me know

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CACahH5OEo6kpYONDk%3DcXNWBSpcvsWt%2BzOkbsmUvfpFx6ahb%2B9A%40mail.gmail.com.

Namil Kim

unread,
Sep 1, 2022, 2:07:25 AM9/1/22
to seleniu...@googlegroups.com
Hi 

you can use waitforelement method

In my opinion, when you click the login button, you have to wait until the loading is completed by moving the page or converting the page.


2022년 9월 1일 (목) 오후 2:05, Aaron Kahn <taur...@gmail.com>님이 작성:

kadambari saran

unread,
Sep 1, 2022, 2:42:24 AM9/1/22
to seleniu...@googlegroups.com
Hi,

You should write your xpath more dynamically.
Using xpath axes

Thanks


Reply all
Reply to author
Forward
0 new messages