# Clicking on 'a' tags

**URL:** <https://forum.katalon.com/t/clicking-on-a-tags/49410>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [November 20, 2020, 11:27am UTC](https://forum.katalon.com/t/clicking-on-a-tags/49410 "2020-11-20T11:27:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [November 21, 2020, 3:31pm UTC](https://forum.katalon.com/t/clicking-on-a-tags/49410/6 "2020-11-21T15:31:38Z")

</div>

The sample code above has 2 shortages.

1. It runs too slowly. It runs slowly because Katalon Studio (free version) logs every single steps in Test Cases, and it emits very verbose output to the LogViewer.
2. The code is not modularised, not reusable at all. It can not process multiple web pages.

So have worked out to refactor the sample to solve these problems. I have made another post:

> [@Finding Broken Links in web pages with Katalon Studio](http://forum.katalon.com/t/finding-broken-links-in-web-pages-with-katalon-studio/49430):
>
> I made a GitHub project. Problem to solve How can I find broken links in web pages? My solution Problem analysis I would describe the “Finding broken links” problem as follows: I want to visit a web to find all \<a href="url"\> tags in the page, and check if the linked URLs are actually accessible In order to check the accesibility, I want to make HTTP GET Request per each links, and report a list of Response Status-URL pairs I want to check the value of Status Code of HTTP Response. I wi…

---

_[View the full topic](https://forum.katalon.com/t/clicking-on-a-tags/49410)._
