Uses selenium 4.0.0a6 which works with python 3.6

This commit is contained in:
Yogesh Mahajan
2021-11-12 11:56:44 +05:30
committed by Akshay Joshi
parent 8bf178b0a3
commit 77931d2315
11 changed files with 47 additions and 45 deletions

View File

@@ -134,7 +134,7 @@ class CheckDebuggerForXssFeatureTest(BaseFeatureTest):
self._close_debugger()
def _close_debugger(self):
self.page.driver.switch_to_default_content()
self.page.driver.switch_to.default_content()
self.page.click_element(
self.page.find_by_xpath(
"//*[@id='dockerContainer']/div/div[3]/div/div[2]/div[1]")