mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
focus
This commit is contained in:
parent
cc8a81440f
commit
733e7dee89
@ -54,7 +54,7 @@ class TS(basetransdev):
|
||||
)
|
||||
content = prompt + content
|
||||
self.Runtime_evaluate(
|
||||
'document.querySelector("#search-input-box > div.input-wrap.flex.flex-x-between.flex-y-center > div.input-box-inner > textarea").click()'
|
||||
'document.querySelector("#search-input-box > div.input-wrap.flex.flex-x-between.flex-y-center > div.input-box-inner > textarea").focus()'
|
||||
)
|
||||
self.send_keys(content)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user