title: How to specify clicking a class when there are multiple with the same class name. (Selenium Python)
body: <pre><code>&lt;li class=&quot;mod-tile&quot;&gt;
  &lt;ul class=&quot;gallery-hidden gallery&quot;&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/1982/1982-1579465585-271404739.png&quot; data-sub-html=&quot;Stracker's Loader &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/1982/1982-1579465585-271404739.png&quot; /&gt;
  &lt;/ul&gt;
  &lt;div data-mod-id=&quot;1982&quot; data-game-id=&quot;2531&quot; class=&quot;mod-tile-left &quot;&gt;
  &lt;div class=&quot;expandtile&quot;&gt;
  &lt;ul class=&quot;btnexpand btnoverlay inline-flex&quot;&gt;
  &lt;div class=&quot;padding&quot;&gt;&lt;/div&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon-plus&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-plus&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;a class=&quot;mod-view&quot; href=&quot;index.html&quot;&gt;View mod page&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;mod-gallery&quot; href=&quot;index.html&quot;&gt;View image gallery&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;a class=&quot;mod-image&quot; href=&quot;index.html&quot;&gt;
  &lt;figure class=&quot;image_figure&quot;&gt;
  &lt;img class=&quot;back&quot; src=&quot;https://www.nexusmods.com/assets/images/default/noimage.svg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;
  &lt;div class=&quot;fore_div_mods&quot;&gt;
  &lt;img class=&quot;fore&quot; onerror=&quot;imgError(this,'https://www.nexusmods.com/assets/images/default/noimage.svg')&quot; loading=&quot;lazy&quot; src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/1982/1982-1579465585-271404739.png&quot; alt=&quot;Stracker's Loader&quot; title=&quot;Stracker's Loader&quot;&gt;
  &lt;/div&gt;
  &lt;/figure&gt;
  &lt;/a&gt;
  &lt;div class=&quot;tile-desc motm-tile&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;Stracker's Loader&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Utilities&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2020-01-19 20:26&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  19 Jan 2020 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 04 Dec 2020&lt;/div&gt;
  &lt;div class=&quot;realauthor&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt; Stracker&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Uploader: &lt;/span&gt; &lt;a href=&quot;index.html&quot;&gt;Stracker&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  Restores full nativePC functionality. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;tile-data&quot;&gt;
  &lt;ul class=&quot;clearfix&quot;&gt;
  &lt;li class=&quot;sizecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-filesize&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-filesize&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;
  703KB &lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;endorsecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-endorse&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-endorse&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;26.0k&lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;downloadcount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-downloads&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-downloads&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt; -- &lt;/span&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;mod-tile-right&quot;&gt;
  &lt;div class=&quot;tile-desc&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;Stracker's Loader&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Utilities&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2020-01-19 20:26&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  19 Jan 2020 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 04 Dec 2020&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt;&lt;a href=&quot;index.html&quot;&gt;Stracker&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  Restores full nativePC functionality. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;mod-tile&quot;&gt;
  &lt;ul class=&quot;gallery-hidden gallery&quot;&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/112/112-1579010242-745113274.png&quot; data-sub-html=&quot;Souvenir's Light Pillar &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/112/112-1579010242-745113274.png&quot; /&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/112/112-1579010135-1239485031.png&quot; data-sub-html=&quot;Souvenir's Light Pillar &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/112/112-1579010135-1239485031.png&quot; /&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/112/112-1579010181-399571475.png&quot; data-sub-html=&quot;Souvenir's Light Pillar &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/112/112-1579010181-399571475.png&quot; /&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/112/112-1579259504-344088346.png&quot; data-sub-html=&quot;Souvenir's Light Pillar &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/112/112-1579259504-344088346.png&quot; /&gt;
  &lt;/ul&gt;
  &lt;div data-mod-id=&quot;112&quot; data-game-id=&quot;2531&quot; class=&quot;mod-tile-left &quot;&gt;
  &lt;div class=&quot;expandtile&quot;&gt;
  &lt;ul class=&quot;btnexpand btnoverlay inline-flex&quot;&gt;
  &lt;div class=&quot;padding&quot;&gt;&lt;/div&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon-plus&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-plus&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;a class=&quot;mod-view&quot; href=&quot;index.html&quot;&gt;View mod page&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;mod-gallery&quot; href=&quot;index.html&quot;&gt;View image gallery&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;a class=&quot;mod-image&quot; href=&quot;index.html&quot;&gt;
  &lt;figure class=&quot;image_figure&quot;&gt;
  &lt;img class=&quot;back&quot; src=&quot;https://www.nexusmods.com/assets/images/default/noimage.svg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;
  &lt;div class=&quot;fore_div_mods&quot;&gt;
  &lt;img class=&quot;fore&quot; onerror=&quot;imgError(this,'https://www.nexusmods.com/assets/images/default/noimage.svg')&quot; loading=&quot;lazy&quot; src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/112/112-1579010242-745113274.png&quot; alt=&quot;Souvenir's Light Pillar&quot; title=&quot;Souvenir's Light Pillar&quot;&gt;
  &lt;/div&gt;
  &lt;/figure&gt;
  &lt;/a&gt;
  &lt;div class=&quot;tile-desc motm-tile&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;Souvenir's Light Pillar&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Visuals and Graphics&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2018-09-03 19:58&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  03 Sep 2018 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 17 Jan 2020&lt;/div&gt;
  &lt;div class=&quot;realauthor&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt; 2hh8899&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Uploader: &lt;/span&gt; &lt;a href=&quot;index.html&quot;&gt;2hh8899&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  It lights up the souvenirs for making them easier to find.유실물을 찾기 쉽게 하기 위해 빛기둥을 박아넣었습니다. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;tile-data&quot;&gt;
  &lt;ul class=&quot;clearfix&quot;&gt;
  &lt;li class=&quot;sizecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-filesize&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-filesize&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;
  59KB &lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;endorsecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-endorse&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-endorse&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;22.7k&lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;downloadcount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-downloads&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-downloads&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt; -- &lt;/span&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;mod-tile-right&quot;&gt;
  &lt;div class=&quot;tile-desc&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;Souvenir's Light Pillar&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Visuals and Graphics&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2018-09-03 19:58&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  03 Sep 2018 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 17 Jan 2020&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt;&lt;a href=&quot;index.html&quot;&gt;2hh8899&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  It lights up the souvenirs for making them easier to find.유실물을 찾기 쉽게 하기 위해 빛기둥을 박아넣었습니다. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;mod-tile&quot;&gt;
  &lt;ul class=&quot;gallery-hidden gallery&quot;&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/43/43-1534824818-145235267.png&quot; data-sub-html=&quot;MHW Transmog &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/43/43-1534824818-145235267.png&quot; /&gt;
  &lt;li class=&quot;thumb&quot; data-src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/43/43-1534825195-804021906.png&quot; data-sub-html=&quot;MHW Transmog &quot; data-exthumbimage=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/43/43-1534825195-804021906.png&quot; /&gt;
  &lt;/ul&gt;
  &lt;div data-mod-id=&quot;43&quot; data-game-id=&quot;2531&quot; class=&quot;mod-tile-left &quot;&gt;
  &lt;div class=&quot;expandtile&quot;&gt;
  &lt;ul class=&quot;btnexpand btnoverlay inline-flex&quot;&gt;
  &lt;div class=&quot;padding&quot;&gt;&lt;/div&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon-plus&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-plus&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;a class=&quot;mod-view&quot; href=&quot;index.html&quot;&gt;View mod page&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;mod-gallery&quot; href=&quot;index.html&quot;&gt;View image gallery&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;a class=&quot;mod-image&quot; href=&quot;index.html&quot;&gt;
  &lt;figure class=&quot;image_figure&quot;&gt;
  &lt;img class=&quot;back&quot; src=&quot;https://www.nexusmods.com/assets/images/default/noimage.svg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;
  &lt;div class=&quot;fore_div_mods&quot;&gt;
  &lt;img class=&quot;fore&quot; onerror=&quot;imgError(this,'https://www.nexusmods.com/assets/images/default/noimage.svg')&quot; loading=&quot;lazy&quot; src=&quot;https://staticdelivery.nexusmods.com/mods/2531/images/thumbnails/43/43-1534824818-145235267.png&quot; alt=&quot;MHW Transmog&quot; title=&quot;MHW Transmog&quot;&gt;
  &lt;/div&gt;
  &lt;/figure&gt;
  &lt;/a&gt;
  &lt;div class=&quot;tile-desc motm-tile&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;MHW Transmog&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Utilities&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2018-08-21 05:37&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  21 Aug 2018 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 04 Dec 2020&lt;/div&gt;
  &lt;div class=&quot;realauthor&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt; Approved&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Uploader: &lt;/span&gt; &lt;a href=&quot;index.html&quot;&gt;FineNerds&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  A mod that allows you to hot swap your appearance with any armor of your choice. Visible to other players!As with any mod for games that don't support mods. This is USE AT YOUR OWN RISK. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;tile-data&quot;&gt;
  &lt;ul class=&quot;clearfix&quot;&gt;
  &lt;li class=&quot;sizecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-filesize&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-filesize&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;
  260KB &lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;endorsecount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-endorse&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-endorse&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt;12.2k&lt;/span&gt;
  &lt;/li&gt;
  &lt;li class=&quot;downloadcount inline-flex&quot;&gt;
  &lt;svg title=&quot;&quot; class=&quot;icon icon-downloads&quot;&gt;&lt;use xlink:href=&quot;https://www.nexusmods.com/assets/images/icons/icons.svg#icon-downloads&quot;&gt;&lt;/use&gt;&lt;/svg&gt; &lt;span class=&quot;flex-label&quot;&gt; -- &lt;/span&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;mod-tile-right&quot;&gt;
  &lt;div class=&quot;tile-desc&quot;&gt;
  &lt;div class=&quot;fadeoff&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;tile-content&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;index.html&quot;&gt;MHW Transmog&lt;/a&gt;&lt;/h3&gt;
  &lt;div class=&quot;meta clearfix&quot;&gt;
  &lt;div class=&quot;category&quot;&gt;
  &lt;a href=&quot;index.html&quot;&gt;Utilities&lt;/a&gt;
  &lt;/div&gt;
  &lt;time class=&quot;date&quot; datetime=&quot;2018-08-21 05:37&quot;&gt; &lt;span class=&quot;label&quot;&gt;Uploaded: &lt;/span&gt;
  21 Aug 2018 &lt;/time&gt;
  &lt;div class=&quot;date&quot;&gt;&lt;span class=&quot;label&quot;&gt;Last Update:&lt;/span&gt; 04 Dec 2020&lt;/div&gt;
  &lt;div class=&quot;author&quot;&gt;&lt;span class=&quot;label&quot;&gt;Author: &lt;/span&gt;&lt;a href=&quot;index.html&quot;&gt;FineNerds&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;p class=&quot;desc&quot;&gt;
  A mod that allows you to hot swap your appearance with any armor of your choice. Visible to other players!As with any mod for games that don't support mods. This is USE AT YOUR OWN RISK. &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/li&gt;
  </code></pre>
  <p>So I want selenium to open the first link from that has the class &quot;<strong>mod-tile</strong>&quot; then it will do a script that I have made, then I want it to open the next link that has the same class &quot;<strong>mod-tile</strong>&quot;. Is there any way to specify this? (btw don't mind the description I just copied the first 3 mod tiles that appeared on the website)</p>