mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
focus
This commit is contained in:
parent
cc8a81440f
commit
733e7dee89
@ -54,7 +54,7 @@ class TS(basetransdev):
|
|||||||
)
|
)
|
||||||
content = prompt + content
|
content = prompt + content
|
||||||
self.Runtime_evaluate(
|
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)
|
self.send_keys(content)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user