driver.title returns a string
I believe what you’re trying to do is more inline with:
assert self.driver.title == "Facebook – log in or sign up"
1
solved Getting TypeError: ‘str’ object is not callable [closed]
driver.title returns a string
I believe what you’re trying to do is more inline with:
assert self.driver.title == "Facebook – log in or sign up"
1
solved Getting TypeError: ‘str’ object is not callable [closed]