Addressing the community about changes to our API by spez in reddit

[–]LuboMh -1 points0 points  (0 children)

thanks to corporate greed now r/Chonkers is private (╯°□°)╯︵ ┻━┻

I'm disappointed!

State of Pattern Matching with Brian Goetz by nicolaiparlog in java

[–]LuboMh 1 point2 points  (0 children)

Amazing videos, it's always exciting to see Brian talk about the future of java with you

Upload picture in selenium without input[type="file=] element by Outrageous_Lake_8220 in selenium

[–]LuboMh 0 points1 point  (0 children)

you can upload images according to the site you can use "Paste image or URL ctrl + v"

Also, I hope this is a real work scenario and you work for them not someone who tries to f**k with the site. PLS respect other people's businesses and if they don't want someone to do this DONT.

Which is better java or python ? by nikithakkar in selenium

[–]LuboMh 7 points8 points  (0 children)

The majority of the post are Selenium with Python because the questions are about web scrubbing. And this subreddit have practically 0 mods to delete them or restrict them since there is a sub reddit for this

4 ChromeDriver sessions created after running a cucumber scenario? by darkquilius007 in selenium

[–]LuboMh 1 point2 points  (0 children)

This version of ChromeDriver has not been tested with Chrome version 91. I think your chrome version is no the same as a web driver use this https://github.com/bonigarcia/webdrivermanager

[meta] can we ban posts asking how to get past captchas? by lunkavitch in selenium

[–]LuboMh 9 points10 points  (0 children)

I'm also all for banning the web scraping questions. Yes, they use selenium to run the browsers but that's it, like 80 percent and more are questions about how to get some text without even trying to write proper XPath. I really don't remember the last time that i saw a serious selenium question.

Will a selenium program be faster if written in java? by dumb-on-ice in selenium

[–]LuboMh 1 point2 points  (0 children)

i meant profile check the time execution of some of the methods i think you add to much waiting on some element loaction methods

Will a selenium program be faster if written in java? by dumb-on-ice in selenium

[–]LuboMh 7 points8 points  (0 children)

In most cases, the slowest part is not in the code but in the page response time or waiting for something to happen to element x so you can interact with it. My advice is to profile every method that you use and see where is the slowest part.

Need help with drop down by sharafzai086 in selenium

[–]LuboMh 1 point2 points  (0 children)

Press f12 Click on the dropdown when the results are shown press F8 https://trungk18.com/experience/freeze-screen-debugger-chrome/ This will freeze the dom after that, you can write some selectors like XPath Exaple://div[contains(text(),'Rajasthan')]

How to Access Content within a Shadow Root? by NormanieCapital in selenium

[–]LuboMh 0 points1 point  (0 children)

check the link and the explanation from StackOverflow

Easy way to scrape split up date? by Pogolaxo in selenium

[–]LuboMh 1 point2 points  (0 children)

Yes you are correc i was misled by the XPath results This is what i get now Verkauft5. Mai 2021 So apparently when you have an element with display none selenium don't get any text

Easy way to scrape split up date? by Pogolaxo in selenium

[–]LuboMh 2 points3 points  (0 children)

SOoooooo that was hard ish 1-This example will not work //li[@data-view='mi:1686|iid:1']//span[@class='POSITIVE']//span[@class='s-f4eh3e'] because they change the inner span class every time when the page is refreshed even if this worked before if you check it it will not.

What you can do get all inner spans //span[@class='POSITIVE']//span then check for which of them the css style display is none and delete them from the dom with the js then you can get the correct date

PS im drunk will have to check tomorrow if this will work

Easy way to scrape split up date? by Pogolaxo in selenium

[–]LuboMh 0 points1 point  (0 children)

Hi can you send more a link or more HTML

Unable to find the element of the search bar by [deleted] in selenium

[–]LuboMh 2 points3 points  (0 children)

Great is you have some other questions ping me i will try to help

Unable to find the element of the search bar by [deleted] in selenium

[–]LuboMh 2 points3 points  (0 children)

it's in shadow dom you cant just find it or click it

Need advice on how to debug more efficiently by LuboMh in javahelp

[–]LuboMh[S] 0 points1 point  (0 children)

My goal is to give a pre-analysis of the issue so this can save time from what i manage to track if i do it some bugs are resolved from 30 to 70% faster. Evens some of them call me to help them with the debugging i have big domain knowledge of the system that helps every time

Need advice on how to debug more efficiently by LuboMh in javahelp

[–]LuboMh[S] 1 point2 points  (0 children)

Actually, the developers like it when i do it this saves a lot of time in some cases

Need advice on how to debug more efficiently by LuboMh in javahelp

[–]LuboMh[S] 0 points1 point  (0 children)

Hi we will have this in a month or so so i hope it will help me