Skip to content

Commit

Permalink
修复selenium浏览器渲染bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris-code committed Nov 4, 2022
1 parent 88d6e7f commit f449de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feapder/utils/webdriver/selenium_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, xhr_url_regexes: list = None, **kwargs):
super(SeleniumDriver, self).__init__(**kwargs)
self._xhr_url_regexes = xhr_url_regexes

if self._xhr_url_regexes and self.driver_type != SeleniumDriver.CHROME:
if self._xhr_url_regexes and self._driver_type != SeleniumDriver.CHROME:
raise Exception(
"xhr_url_regexes only support by chrome now! eg: driver_type=SeleniumDriver.CHROME"
)
Expand Down

0 comments on commit f449de3

Please sign in to comment.