What shoud I change . RecursionError: maximum recursion depth exceeded in comparison

83 views
Skip to first unread message

nawi98

unread,
Jul 14, 2022, 12:03:12 PM7/14/22
to Selenium Users
Hello I am writing functionnal tests with Selenium Python using Pycharm. I am following the Page Object Pattern and I am using PageFactory as well. I am using the official doc examples(see https://selenium-page-factory.readthedocs.io/en/latest/ and https://www.browserstack.com/guide/page-object-model-in-selenium-python

I am trying to log in the website but I got a RecursionError: maximum recursion depth exceeded in comparison Exception. I tried to set the recursion depth limit to 1500(the default value was 1000).But I still have the error.

I am pretty new to python and do not really understand the recursive functions. Could you please tell me where I am wrong. 

Here is my test_book.py where my functionnal tests run:er.PNG
Here is my sign_up_page.py in the src.
err.PNG
Here are the errors:
errorr.PNG

errorrr.PNG

vishnu kulkarni

unread,
Jul 15, 2022, 5:29:39 AM7/15/22
to seleniu...@googlegroups.com
Set recursion as 2000 problem resolves

--
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/c659b53a-d102-4e70-8fc2-496a3d932f11n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages