# REPL hangs

**URL:** <https://discourse.julialang.org/t/repl-hangs/124410>\
**Category:** General Usage\
**Tags:** question, pycall\
**Created:** [January 3, 2025, 12:54pm UTC](https://discourse.julialang.org/t/repl-hangs/124410 "2025-01-03T12:54:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Post date:** [January 3, 2025, 12:54pm UTC](https://discourse.julialang.org/t/repl-hangs/124410/1 "2025-01-03T12:54:34Z")

</div>

Hi all  
I am having issues with a code snipped in REPL.

As seen in the video the REPL hangs (or at least it is VERY slow) at two lines.  
Surprisingly the first line is a comment line. The other line with the issue is the `driver.get` line

All I do in the video is pasting the entire snippet into the console (right click)

[![](https://global.discourse-cdn.com/julialang/original/3X/5/3/53ef22583b7aeca3673226d7f7ae33034596fb27.webp "jrepl") ](https://vimeo.com/1043658029)

I can reproduce this on another windows machine.

BTW: VS code crashes when I run the driver.get(url) row.

Any idea how I can fix (or debug?) this?

here is the code snippet.

```julia
using InteractiveUtils;
versioninfo()
using PyCall 

webdriver = pyimport("selenium.webdriver")
#driver = webdriver.Chrome()
driver = webdriver.Firefox()

url = "https://www.dell.com"
smt = driver.get(url)
versioninfo()
0

```

---

<div class="post-metadata">

**Author:** ![g-gundam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/g-gundam/32/47593_2.png) [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Post date:** [January 3, 2025, 6:56pm UTC](https://discourse.julialang.org/t/repl-hangs/124410/2 "2025-01-03T18:56:08Z")

</div>

I don’t have any answers, but I wonder if it’s related to this:

> [@Julia REPL: pasting code while repl is busy is slow](https://discourse.julialang.org/t/julia-repl-pasting-code-while-repl-is-busy-is-slow/123765):
>
> Hello, for a long time now I observed a strange repl behavior, which I always [contributed to emacs + vterm](https://github.com/tpapp/julia-repl/issues/151). However I now realised, that it also appears in different terminals (iterm2 on mac and windows terminal/wsl) so it seems to be related to Julia itself. The problem is, that pasting code into the REPL is much slower when pasting while the repl is busy then when pasting while idle. Steps to reproduce: open julia --startup-file=no past longish text: appears instantly call some function w…

---

<div class="post-metadata">

**Author:** ![ianshmean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ianshmean/32/216042_2.png) [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Post date:** [January 3, 2025, 7:21pm UTC](https://discourse.julialang.org/t/repl-hangs/124410/3 "2025-01-03T19:21:22Z")

</div>

This is [Very sluggish autocomplete with PyCall · Issue #54131 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/54131)

---

<div class="post-metadata">

**Author:** ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Post date:** [January 3, 2025, 7:43pm UTC](https://discourse.julialang.org/t/repl-hangs/124410/4 "2025-01-03T19:43:12Z")

</div>

> [@bernhard](#):
>
> ```julia
> using InteractiveUtils;
> versioninfo()
> using PyCall 
> 
> webdriver = pyimport("selenium.webdriver")
> #driver = webdriver.Chrome()
> driver = webdriver.Firefox()
> 
> url = "https://www.dell.com"
> smt = driver.get(url)
> versioninfo()
> 0
> 
> ```

indeed.thanks!

---

<div class="post-metadata">

**Author:** ![RileyHayes](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@RileyHayes](https://discourse.julialang.org/u/RileyHayes)\
**Post date:** [January 17, 2025, 1:35pm UTC](https://discourse.julialang.org/t/repl-hangs/124410/5 "2025-01-17T13:35:14Z")

</div>

Thanks for the link, you saved my day.
