skip to Main Content

Html – How to find link using selenium when "linktext" is a div?

<a href="/r/androidapps/comments/13olal1/what_happens_to_photos_resized_in_samsung_builtin/"> <div class="_1AKeAGcglmBjK1SUUXNFti _1-SZ3VwLjbFwTzaZvU8FBX _1FT0e6kh1BBb_oALAMW_l7 _1yBpz1MEPxxYTxjlEilGtB" data-testid="post-title" style="--posttitletextcolor:#222222"> <h3 class="_eYtD2XCVieq6emjKBH3m">what happens to photos resized in Samsung built-in gallery app</h3> </div> </a> I want "/r/androidapps/comments/13olal1/what_happens_to_photos_resized_in_samsung_builtin/" in the "a" tag. How do I use selenium to get the url as a…

VIEW QUESTION
Back To Top
Search