greptilian logo

IRC log for #friendlyjava, 2021-03-25

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
04:22 mr_lou joined ##friendlyjava
05:39 helllojesus12 joined ##friendlyjava
05:44 helllojesus12 Hi all, I am new to java and selenium. I have wracked my brain and I cannot for the life of me figure out why line 26 in browserfactory is spawning two browser instance instead of one. any help is appreciated. The code is here: https://www.online-java.com/wlNkcKCfPd
05:44 helllojesus12 any help is appreciated because I feel like I am missing something stupid.
13:58 aditsu hi helllojesus12
15:49 helllojesus12 jo
15:50 helllojesus12 hi*
15:51 aditsu still having that problem?
15:52 helllojesus12 yeah
15:57 aditsu so I'm not familiar with selenium, but are you saying it is opening 2 browser instances exactly at line 26?
15:58 helllojesus12 yes
15:58 helllojesus12 I debugged it and it after line 26 it opens two instance instead of one
15:59 helllojesus12 one stays empty at and it just does nothing. Then another opens and it goes to that url I specify
15:59 helllojesus12 however, during my teardown method both of them are quit
15:59 aditsu I found this after a quick search: https://stackoverflow.com/questions/46409994/two-browsers-are-opening-in-selenium
16:00 helllojesus12 yeah but I do not have two instances of new Chromdriver();
16:00 helllojesus12 I only have one and the other time it just gets driver
16:03 aditsu I'd have to install those libraries and try to reproduce the problem..
16:06 aditsu have you tried asking other selenium users? maybe on stackoverflow if there's no other community for it
16:16 mr_lou joined ##friendlyjava
16:31 helllojesus12 yes nothing has helped so far
17:20 philbot joined ##friendlyjava
17:20 Topic for ##friendlyjava is now Be friendly :) This channel is publicly logged at http://irclog.greptilian.com/friendlyjava/today ⚫ Please use a pastebin for pasting code
17:42 pdurbin joined ##friendlyjava
18:17 philbot joined ##friendlyjava
18:17 Topic for ##friendlyjava is now Be friendly :) This channel is publicly logged at http://irclog.greptilian.com/friendlyjava/today ⚫ Please use a pastebin for pasting code
22:16 aditsu joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode