I have the following code snippet
………………………..

Välj sport

                                    <option value="1" 
                                            data-content="<i class='ma ma-Tennis'></i> Tennis">Tennis</option>

                                    <option value="2" 
                                            data-content="<i class='ma ma-Badminton'></i> Badminton">Badminton</option>

                                    <option value="3" 
                                            data-content="<i class='ma ma-Squash'></i> Squash">Squash</option>

                                    <option value="4" 
                                            data-content="<i class='ma ma-Bordtennis'></i> Bordtennis">Bordtennis</option>

                                    <option value="5" 
                                            data-content="<i class='ma ma-Padel'></i> Padel">Padel</option>

                                    <option value="6" 
                                            data-content="<i class='ma ma-Övrigt'></i> Övrigt">Övrigt</option>

                                    <option value="7" 
                                            data-content="<i class='ma ma-Pickleball'></i> Pickleball">Pickleball</option>

                            </select>
                        </div>

………………..
Want to do random selection of items from ,tried all possible selectors but getting element not found error.
I tried your similar old post but did’t work .
Can you suggest something?



Source link https://sqa.stackexchange.com/questions/35297/---from-list-using--

LEAVE A REPLY

Please enter your comment!
Please enter your name here