Skip to content

Commit

Permalink
删除多余导入
Browse files Browse the repository at this point in the history
  • Loading branch information
defnngj committed Apr 24, 2019
1 parent 4678936 commit 146ecf5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import os
import pytest
from py.xml import html
from py.xml import html as aa_html
from selenium import webdriver
from selenium.webdriver import Remote
from selenium.webdriver.chrome.options import Options as CH_Options
from selenium.webdriver.firefox.options import Options as FF_Options
import html as new_html

# 项目目录配置
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
Expand All @@ -15,8 +13,8 @@

############################

# 配置浏览器驱动类型(chrome/firefox)。
driver_type = "chrome-headless"
# 配置浏览器驱动类型(chrome/firefox/chrome-headless/firefox-headless)。
driver_type = "chrome"

# 配置运行的 URL
url = "https://www.baidu.com"
Expand Down

0 comments on commit 146ecf5

Please sign in to comment.