Greetings StackOverflow Community,
I am new to Jmeter and all related aspects.
I find myself in need of assistance.
While I am searching for something, there is a div that appears during the waiting period which prevents me from clicking on other elements.
<div id="wait" width="100%" height="100%" class="wait" style="position: absolute; top: 0px; left:0px; height: 617px; width: 355px; display: block; cursor: default;"></div>
Once the search is complete, it transforms into
<div id="wait" width="100%" height="100%" class="wait" style="position: absolute; top: 0px; left:0px; height: 617px; width: 355px; display: none; cursor: default;"></div>
essentially changing its display from 'block' to 'none'
According to the requirements of my application, I need to wait until the 'wait' div's display status changes to none before interacting with other elements.
How can I check this using WDS JavaScript?
I have attempted:
wait.until(conditions.presenceOfElementLocated(pkg.By.xpath(".//*[@id='wait'and not(@style.display)]")));
However, it does not seem to be working as expected.
Any help in this regard would be greatly appreciated. Thank you.