Hi Kaushik I have installed jest cli but when I run the jest followed the test case file name then it doesn't run. could you please help me with this I get exception as "Invalid transformer module"
I'm kind of struggling to validate the dropdown values. When i used TextContext - all dropdown values are returned. When i follow your strategy i.e. const selectedvalue = await this.page.$eval(locator, element => element.value); The resulted returned is : selected value for priority is : 1: f9a4b37b-6fad-47ae-82ba-3dfaba191e12.. how do i validate using actual text ?
Thank you for sharing the info, however is there workaround to handle the select2 not select as I am getting err in playwright i.e Element is not a element
hi, I am trying to figure out how to code the auto suggestive dropdown for location. I am not able to inspect the list because it disappears when I right click on it, I am using Javascript and Playwright
Hi Koushik, In Angular application, this is handled as , I tried using this select, But not working. So would like to know, How do we handle the select option in angular based , cases. Now we are using a normal click on the arrow and select the option using another click. Thank you for your support....
Hi, can you explain how we could get all of the values inner texts in the dropdown? And do assertions? If a certain value exists or does not exist in the dropdown? I suppose it is of the use of an array to go over the length, then create a variable to get the inner texts of all what is in the array, then we can do the expect to contain or not to contain a certain value right?
Hi Koushik, Thanks for the video. How to use dynamic xpath like $"//a[contains(@aria-label,'{AppName}')]" Based on the variable I have passed, Need to select webelement
If I'm not wrong u mean to ask select tag ? If so then it's like normal click action, we'll click the element may be button or div. Then of see the option we can click based on the unique selector.
@@letcode Hi Koushik, I'm trying to select value from a dropdown having tag as input. As suggested by you I clicked on the element and got all the elements of values using page.$$ option. In next step I'm trying to get the textcontent for each element to compare it against value Im looking for. But it is not returning any text. Can you help me on this. Thank you