write_test_in_python.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:i_love_python 作者: MayankPratap 项目源码 文件源码
def test_search_in_python_org(self):
        driver=self.driver
        driver.get("http://www.python.org")
        self.assertIn("Python",driver.title)
        elem=driver.find_element_by_name("q")
        elem.send_keys("pycon")
        elem.send_keys(Keys.RETURN)
        assert "No results found. " not in driver.page_source
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号