[py] Correct flake8 issues
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: e1957113d3db81ce00b1d237b809307ab4931057
diff --git a/selenium/webdriver/common/action_chains.py b/selenium/webdriver/common/action_chains.py
index bf97fca..d73cdf4 100644
--- a/selenium/webdriver/common/action_chains.py
+++ b/selenium/webdriver/common/action_chains.py
@@ -290,8 +290,8 @@
- yoffset: Y offset to move to.
"""
if self._driver.w3c:
- self.w3c_actions.pointer_action.move_to(to_element,
- int(xoffset),
+ self.w3c_actions.pointer_action.move_to(to_element,
+ int(xoffset),
int(yoffset))
self.w3c_actions.key_action.pause()
else:
diff --git a/selenium/webdriver/remote/webdriver.py b/selenium/webdriver/remote/webdriver.py
index 64cbe90..78cbec7 100644
--- a/selenium/webdriver/remote/webdriver.py
+++ b/selenium/webdriver/remote/webdriver.py
@@ -365,7 +365,7 @@
"""Finds an element by id.
:Args:
- - id\_ - The id of the element to be found.
+ - id\\_ - The id of the element to be found.
:Returns:
- WebElement - the element if it was found
diff --git a/selenium/webdriver/remote/webelement.py b/selenium/webdriver/remote/webelement.py
index 428a5b3..f29b89b 100644
--- a/selenium/webdriver/remote/webelement.py
+++ b/selenium/webdriver/remote/webelement.py
@@ -166,7 +166,7 @@
"""Finds element within this element's children by ID.
:Args:
- - id\_ - ID of child element to locate.
+ - id\\_ - ID of child element to locate.
:Returns:
- WebElement - the element if it was found