Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

How can i change the css property of an element using protractor? #3266

Closed
Bandari-A opened this issue Jun 13, 2016 · 0 comments
Closed

How can i change the css property of an element using protractor? #3266

Bandari-A opened this issue Jun 13, 2016 · 0 comments

Comments

@Bandari-A
Copy link

   #  **var element = element(by.model('test')).getCssValue('background-color');

    expect(element).toEqual('rgba(255, 0, 0, 1)');**

   Output: output of above expectation is True.


  # I want to change the new background-color to above specified element.
  # How can i set the new  background-color to above specified element?

  Thanks in advance
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant