Skip to content

Commit

Permalink
[py] address flake8 issues
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Tierney <[email protected]>
  • Loading branch information
lmtierney committed May 29, 2019
1 parent b97d398 commit d123157
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/chrome/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
DEFAULT_PORT = 0
DEFAULT_SERVICE_LOG_PATH = None


class WebDriver(RemoteWebDriver):
"""
Controls the ChromeDriver and allows you to drive the browser.
Expand Down Expand Up @@ -65,7 +66,6 @@ def __init__(self, executable_path="chromedriver", port=DEFAULT_PORT,
warnings.warn('service_log_path has been deprecated, please pass in a Service object',
DeprecationWarning, stacklevel=2)


if chrome_options:
warnings.warn('use options instead of chrome_options',
DeprecationWarning, stacklevel=2)
Expand Down
1 change: 1 addition & 0 deletions py/selenium/webdriver/firefox/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

DEFAULT_SERVICE_LOG_PATH = None


class WebDriver(RemoteWebDriver):

CONTEXT_CHROME = "chrome"
Expand Down
2 changes: 2 additions & 0 deletions py/selenium/webdriver/ie/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import warnings

from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver
from .service import Service
from .options import Options
Expand Down

0 comments on commit d123157

Please sign in to comment.