Web automation library for simple and easy end to end testing and web browser automation that offers super charged features while keeping it simple to use and master
In webbot.py at line 73 the setattribute searches for switch_to_alert function in selenium. This does not exist any more in more recent versions of selenium as it has been replaced by switch_to.alert. Removing 'switch_to_alert' from the getattribute did not cause any issues in my program, so why is that there? Alternatively can it be replaced by self.switch_to_alert=self.driver.switch_to
In webbot.py at line 73 the setattribute searches for switch_to_alert function in selenium. This does not exist any more in more recent versions of selenium as it has been replaced by switch_to.alert. Removing 'switch_to_alert' from the getattribute did not cause any issues in my program, so why is that there? Alternatively can it be replaced by
self.switch_to_alert=self.driver.switch_to