标签: python selenium cucumber python-behave
我的步骤定义之一中包含以下代码:
print(context.browser.current_url) assert context.browser.current_url is "https://www.phptravels.net/account/"
打印输出为“ https://www.phptravels.net/account/”,但是比较时我收到了assertionError。知道为什么吗?谢谢!