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 :
code's piece as below :
But if open devtools in
winbefore this, you can still get correct value of x in console.(although it's stiill wrong the return value in julia).
In julia do :
And in devtool's console we get :