by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 10 21:52
    asolntsev review_requested #1249
  • Aug 10 21:52
    asolntsev review_requested #1249
  • Aug 10 21:52
    asolntsev review_requested #1249
  • Aug 10 21:52
    asolntsev review_requested #1248
  • Aug 10 21:52
    asolntsev review_requested #1248
  • Aug 10 21:52
    asolntsev review_requested #1248
  • Aug 10 19:52
    pgianino opened #1250
  • Aug 09 22:16
    asolntsev review_requested #1249
  • Aug 09 22:15
    asolntsev milestoned #1249
  • Aug 09 22:15
    asolntsev assigned #1249
  • Aug 09 22:15
    asolntsev opened #1249
  • Aug 09 22:15

    asolntsev on cleanup-downloads-folder-before-each-download

    #1220 cleanup downloads folder … (compare)

  • Aug 09 21:41
    asolntsev closed #1141
  • Aug 09 21:41
    asolntsev commented #1141
  • Aug 09 21:39
    asolntsev closed #1182
  • Aug 09 21:39
    asolntsev commented #1182
  • Aug 09 21:39
    asolntsev closed #1184
  • Aug 09 21:39
    asolntsev commented #1184
  • Aug 09 21:37
    asolntsev milestoned #1248
  • Aug 09 21:37
    asolntsev assigned #1248
Michael Dally
@MichaelDally
Yeah I'm just experimenting with WebDriverManager.chromedriver().driverVersion("83.0.4103.39");
Might try to downgrade. Getting desperate now :D
byakoshiki
@byakoshiki_twitter
but... maybe you search the wrong issue here?
you see a log message and your browser hangs right?
maybe it's app problem?
or the machine you do tests?
Michael Dally
@MichaelDally
The application doesn't hang, I can still interact with it as normal
It only happens in this scenario of switching to iframes
The error I see is: timeout: Timed out receiving message from renderer: 300.000
Michael Dally
@MichaelDally
I'm willing concede it could be my machine. I've recently been given a very old mac to work on as my other Mac is broken haha
Andrei Solntsev
@asolntsev
@MichaelDally Selenide uses WebDriverManager to download chromedriver. By default it checks the version of chrome installed on the machine, and downloads corresponding version of chromedriver. In most cases it's enough.
But if you really need to use another version of chromedriver, you can do it by WebDriverManager.chromedriver().driverVersion("83.0.4103.39").
Andrei Solntsev
@asolntsev

Released Selenide 5.13.0:

"In the beginning was the Substring…”

https://selenide.org/2020/07/08/selenide-5.13.0/

Douglas Silva Ramos
@silramos
Hello, is it possible to define browser language trough selenide configurations? When i run without headless mode, the browser is opened in brazilian portuguese, as expected, but when running with headless mode active, browser opens in english.
Andrei Solntsev
@asolntsev
Yes, it’s possible. Described in this post: https://selenide.org/2019/12/22/advent-calendar-defaulta-lingvo/
Douglas Silva Ramos
@silramos
Thanks, helped a lot!
Agata B
@aggatab

Hello everyone! I have 3 dynamic dropdowns depending on each other. All of them have preselected option. I've tried selectOption method to select another value from the dropdowns, but it's only changing the visible value on UI, not the value in HTML code. This results in next dropdowns not reacting to the change and not showing their values.

Code on the page looks like this:

<select name="nameoftheselect" class>
<option value selected>preselectedOption</option>
<option value="definition">optionIdLikeToChoose</option>
</select>

Can someone help me with this issue? :)

byakoshiki
@byakoshiki_twitter
@aggatab From what you describe, it seems to be a bug on app site, like you say the option does change on UI but not in HTML, that means simply selecting option does not trigger an event of change. Maybe you should expand list, and click on a option? Also you might try to add pressEnter() or pressTab() after select to try and trigger event
Agata B
@aggatab
@byakoshiki_twitter , thanks for answer.
When I try the same scenario manually it does trigger an event of change... I will try option with expanding. I've tried pressEnter()() but it's working only sometimes..
byakoshiki
@byakoshiki_twitter
@aggatab i would suggest tab
Agata B
@aggatab
Tab option isn't working.. It goes to the next dropdown but the options are not available (because event of change wasn't triggered). :(
byakoshiki
@byakoshiki_twitter
@aggatab so only expand left
@aggatab but i would even suggest a change for that app, because tab is common thing nowdays to navigate and approve value in fields
Agata B
@aggatab
Sure, but this works fine when I do it manually
Agata B
@aggatab
Unfortunately the same issue occurs when I've tried clicking on dropdown and clicking on option... So I guess it must be bug in application?
byakoshiki
@byakoshiki_twitter
yes
Douglas Silva Ramos
@silramos
Hi everyone. I need to zoom out during a test, so i tried to use method "zoom(double)" from Selenide, but this does not make zoom trought of browser, this method just change the proportion of page. There is an alternative way to do this (simulate "ctrl""+" or "ctrl""-") in Selenide?
Andrei Solntsev
@asolntsev
Hm… No, I don’t know.
sbhattathiri
@sbhattathiri
hello everyone - here's the thing - I was expecting a .xlsx when I try $(element).download, with proxy, but I got a file without extension - custom was the name. Is this unexpected? I am on linux, selenide 5.12.0
Andrei Solntsev
@asolntsev
It may happen if Selenide didn't found file name in http headers. Then Selenide had to generate just a random filename.
sbhattathiri
@sbhattathiri
ok.. @asolntsev . I am not bothered about the filename anyhow. But was looking for the extension .xlsx
Manchiken
@Manchiken
привет)
alt
столкнулся с такой проблемой, после клика на кнопку происходит проверка спиннера на shouldBe(hidden) и затем переход на другую страницу. в моменте (2) элемент еще виден на странице, поэтому элемент успевает проинициализироваться, но как только происходит переход на другую страницу, в этом методе (см. момент 3) элемента уже не существует, а ElementShouldNot будет обращаться к getText() и getTagName() элемента, что в итоге приводит к ошибке java.lang.ClassCastException: com.google.common.collect.Maps$TransformedEntriesMap cannot be cast to java.lang.String
alt
как итог shouldBe(hidden) постоянно падает.
Andrei Solntsev
@asolntsev
Привет!
Это бага, заводи GitHub issue. Будем исправлять.
Только можешь приложить полный стектрейс
этой ClassCastException?
Manchiken
@Manchiken
да конечно.
Manchiken
@Manchiken
я правда опечатался не ElementShouldNot кидается, а ElementShould эксепшн.сегодня заведу ишшью.спасибо)
Andrei Solntsev
@asolntsev
@Manchiken готово! selenide/selenide#1245
byakoshiki
@byakoshiki_twitter
Hello, so i want to do the one of most hated things. I want to downloand file. The thing is, you need to click on a button to popup new window where the file is being download. Do i need to click on that button and then call downloand method? or i just need to call downloand?
byakoshiki
@byakoshiki_twitter
okay i managed to get correct file as an variable but selenide still downloands a lot of unecessarry files
i am using filteFilter
but it does not limit that
is there a way to limit downloand just to 1 file?
@asolntsev
Andrei Solntsev
@asolntsev
@byakoshiki_twitter currently we don't have filters. Yes, Selenide downloads all files because it makes it possible to understand what happened when test fails.
But why this is a problem? Files are downloaded to build folder which is presumably deleted before every build (with gradle clean command).
byakoshiki
@byakoshiki_twitter
@asolntsev I am using maven and i set custom downloand folder
Andrei Solntsev
@asolntsev
Well, in case of maven you might set Configuration.downloadsFolder=target/downloads;- and then mvn clean would delete this folder before each build.
Fiorella Zampetti
@fzampetti_gitlab
Hi there, we are conducting a survey about why refactoring-related contributions to software projects get rejected.
If you have any related experience, we highly appreciate your input!
Thanks in advance and the survey is available at https://usi.eu.qualtrics.com/jfe/form/SV_cO6Ayah0D6q4eSF