def start(self):
if self.is_started is False:
self.service.start()
capabilities = {
'chrome.binary':
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
}
self.browser = (
webdriver.Remote(self.service.service_url, capabilities))
self.is_started = True
return
评论列表
文章目录