mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
focus
This commit is contained in:
parent
f64e5dd5ec
commit
cc8a81440f
@ -52,7 +52,7 @@ class TS(basetransdev):
|
||||
self.srclang, self.tgtlang
|
||||
)
|
||||
content = prompt + content
|
||||
self.Runtime_evaluate('document.getElementsByTagName("textarea")[0].click()')
|
||||
self.Runtime_evaluate('document.getElementsByTagName("textarea")[0].focus()')
|
||||
self.send_keys(content)
|
||||
self.Runtime_evaluate(
|
||||
r"""document.querySelector("#tongyiPageLayout > div.sc-fQpRED.jsoEZg > div > div.sc-hNGPaV.erDcgy.pageContentWrap--AovzQ5wq > div > div.inputField--PE5FhWzd > div > div.chatInput--eJzBH8LP > div.operateBtn--zFx6rSR0").click()"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user