mirror of
https://github.com/appium/appium.git
synced 2026-10-28 20:31:51 +08:00
updated python code for example usage (#12712)
python code to get title in example usage is incorrect, it was throwing error as "TypeError: 'str' object is not callable"
This commit is contained in:
committed by
Isaac A. Murchie
parent
8cda72666a
commit
fbb6e2ea1a
@@ -8,7 +8,7 @@ example_usage:
|
||||
String title = driver.getTitle();
|
||||
python:
|
||||
|
|
||||
title = self.driver.title()
|
||||
title = self.driver.title
|
||||
javascript_wd:
|
||||
|
|
||||
let title = await driver.title();
|
||||
|
||||
Reference in New Issue
Block a user