更改切换语言中设置的图标位置
This commit is contained in:
@@ -754,7 +754,7 @@ def _change_language(page):
|
|||||||
sleep(1, 2)
|
sleep(1, 2)
|
||||||
# 点击切换语言
|
# 点击切换语言
|
||||||
page.wait_for_selector(
|
page.wait_for_selector(
|
||||||
'i[style*="background-position: 0px -373px"][style*="https://static.xx.fbcdn.net/rsrc.php/v4/y9/r/6PURteH52fZ.png"]',
|
'i[style*="background-position: 0px -621px"][style*="https://static.xx.fbcdn.net/rsrc.php/v4/yY/r/yqlvyVYxGJ0.png"]',
|
||||||
timeout=10000).click(force=True)
|
timeout=10000).click(force=True)
|
||||||
sleep(1, 2)
|
sleep(1, 2)
|
||||||
# 点击英文
|
# 点击英文
|
||||||
|
|||||||
Reference in New Issue
Block a user