Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Python: Webdriver can't run a suite of tests. Second test always

Options
  • 21-05-2021 9:33am
    #1
    Registered Users Posts: 5,576 ✭✭✭


    I have a suite of 2 Webdriver tests that always throws the following error on the second test.

    "No connection could be made because the target machine actively refused it"

    Note that both tests work fine on their own. I call close() and quit() during teardown of both tests. If i change the order of tests i still get the error on the second test.


Advertisement