Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always get return value as Dict{String, Any}() after load external url. #314

Open
XLin0mu opened this issue Sep 4, 2023 · 0 comments
Open

Comments

@XLin0mu
Copy link

XLin0mu commented Sep 4, 2023

code's piece as below :

julia> using Blink
julia> win = Window()

julia> @js win x = 5
5
#right return value

julia> loadurl(win, "https://www.github.com")
Dict{String, Any}()
#things coming bad

julia> @js win x = 6
Dict{String, Any}()
#wrong return value

But if open devtools in win before this, you can still get correct value of x in console.
(although it's stiill wrong the return value in julia).

In julia do :

opentools(win)
#open devtools in julia
@js win x = 7

And in devtool's console we get :

> x
7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant