We help IT Professionals succeed at work.
Get Started

Debugging css changes on the element

sduser1
sduser1 asked
on
38 Views
Last Modified: 2020-05-20
I am running a protractor test on angular web application. On one of the dialogs, when the item is selected, there is a function that gets called to see if the item is selected. In the error screenshot, it shows that the item is selected but the test fails saying that the selection is failed. Looks like the css for that element is changing in runtime. Was wondering how to inspect the css change or how to check the css everytime the script is run. I can put pause and check the css on the webpage. Was wondering if there is any better way to debug these kind of issues.
Comment
Watch Question
Fractional CTO
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE