Closed lf2a closed 2 years ago
When set_screen_resolution(width, height) is called doesn't update self._dimensions attribute.
set_screen_resolution(width, height)
self._dimensions
from botcity.web import WebBot, Browser web = WebBot() web.headless = False web.browser = Browser.FIREFOX web.driver_path = '<path>' web.browse('https://www.google.com') web.set_screen_resolution(1280, 720) print(web.display_size()) # (1600, 900)
Problem
When
set_screen_resolution(width, height)
is called doesn't updateself._dimensions
attribute.Steps to Reproduce