假设有一个链接<a href="https://example.com/contact">Contact Us</a>,以下哪些方法可以定位它?( )
A、find_element("linktext","ContactUs")
B、find_element("partiallinktext","Contact")
C、find_element("xpath","//a[@href='https://example.com/contact']")
D、find_element("cssselector","a[href='https://example.com/contact']")
发布时间:2025-10-03 08:23:58