* [fix] #4267 * Update selenium_testdriver.py
This commit is contained in:
parent
02c359d00f
commit
181d493dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ import frappe
|
|||
from ast import literal_eval
|
||||
|
||||
class TestDriver(object):
|
||||
def __init__(self, port='8000'):
|
||||
self.port = port
|
||||
def __init__(self, port=None):
|
||||
self.port = port or frappe.get_site_config().webserver_port or '8000'
|
||||
|
||||
chrome_options = Options()
|
||||
capabilities = DesiredCapabilities.CHROME
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue