Posts by Spencer Melo • 240 points
10 posts
-
1
votes1
answer335
viewsA: Exit an Iframe Selenium Pyhton
After doing what you needed in iframe, you should return to the starting document. Would look like this: self.Web_Browser.switch_to.default_content() # Linha adicionada antes da ação do click.…
-
1
votes1
answer49
viewsA: How to change the logging level of a dependency?
Well, the final solution was to "point" where this file has the properties I want in java, in which case it is in the Resources folder. That is: //Solução String loggingPath =…
-
1
votes1
answer49
viewsQ: How to change the logging level of a dependency?
I’m trying to deal with the logging level of a dependency, where it’s showing INFO and I would not like her to show that level, because the information is not pertinent, in my case is the logging…
-
0
votes2
answers155
viewsA: Run Selenium Event
So friend, it works like this, this error concerns the element reference, you have the element reference but he is not on the screen. You will find it strange because this seeing the element on the…
seleniumanswered Spencer Melo 240 -
1
votes2
answers210
viewsA: Create execution looping until an element is visible
Stop executing ONLY when you find it can take you to a code running endlessly, I advise you to put a time limit. Now on to your question, by my understanding of what you want to do, a do while is…
-
0
votes2
answers2088
viewsA: I type the correct xpath from a button, but Selenium says xpath does not exist
This message is saying that the element is not in the GIFT when you searched for it, it would be prudent to expect it to be ~available~ on the screen for some time. First, I flipped on instagram and…
-
0
votes1
answer154
viewsA: Error execution log4j Selenium
Allan, log4j is a widely used logging tool, mainly in java. This problem should be due to the configuration file (log4j.properties or log4j.xml) of your project, in the English stackoverflow you…
-
1
votes1
answer1016
viewsA: Search for e-mail or word within a webdriver site in python?
Breno, I went looking for this tutorial that you started, it seems you skipped the reading of the session 6.2, she explains how to create the page.…
-
0
votes1
answer44
viewsA: Htmlunitdriver does not find field id - Selenium
I believe that this will not be possible with Htmlunitdriver at the moment, even in its latest versions and even with the new HtmlUnitDriver(true); Htmlunitdriver does not have such interesting…
-
1
votes1
answer422
viewsA: How do Extent Reports generate an HTML report when the test fails outside the @Test tag?
If you change that: @AfterTest public void endReport() throws IOException { extent.flush(); extent.close(); } For that reason: @AfterTest(alwaysRun = true) public void endReport() throws IOException…