运行报错:
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
就是页面跳转是需要时间的,但是代码执行是很快的,这里没有找到元素是因为,在获取id时,手机页面还没有进入到该页面,所以在页面上找不到元素
运行报错:
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
就是页面跳转是需要时间的,但是代码执行是很快的,这里没有找到元素是因为,在获取id时,手机页面还没有进入到该页面,所以在页面上找不到元素