python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Nested HTML element not assigning to slot
In the below code I am trying to assign <span slot='test-slot'>b</span> to <slot name='test-slot'>a</slot> but the assignment does not work. If I bring <span slot='test-slot...
Harry Stuart
Votes: 0
Answers: 1
How to access the html nested within multiple shadowRoot using Selenium and Python
I am trying to build a bot to solve Wordle puzzles on the website (https://www.powerlanguage.co.uk/wordle/)
I am using selenium to enter a guess then attempting to inspect the page to see which guesse...
amc-man
Votes: 0
Answers: 2
static shadowRootOptions in Litelements with Typescript, set mode to open or close
I'm currently diving into Webcomponents with Litelements: In Webcomponents you can change the way the shadowdom works by defining the mode property as 'open' or 'closed'. Like this in vanilla Javascri...
Alex
Votes: 0
Answers: 2
java.lang.ClassCastException: cannot be cast to org.openqa.selenium.WebElement using executeScript() to return shadowRoot from shadowHost
Getting Issue :
java.lang.ClassCastException: com.google.common.collect.Maps$TransformedEntriesMap cannot be cast to org.openqa.selenium.WebElement
Code trials:
JavascriptExecutor execute = (Javascri...
Asha Rani
Votes: 0
Answers: 3