假设有一个链接<a href="https://example.com/contact">Contact Us</a>,以下哪些方法可以定位它?( )
A、find_element("link text", "Contact Us")
B、find_element("partial link text", "Contact")
C、find_element("xpath", "//a[@href='https://example.com/contact']")
D、find_element("css selector", "a[href='https://example.com/contact']")
发布时间:2025-10-11 02:44:31