def urlscreenshot(self, external_url, agent=None, mode=None, width=None, height=None, delay=None):
params = locals()<EOL>params.pop('<STR_LIT>')<EOL>params.pop('<STR_LIT>')<EOL>params = {k: v for k, v in params.items() if v is not None}<EOL>url_task = utils.return_transform_task('<STR_LIT>', params)<EOL>new_transform = filestack.models.Transform(apikey=self.apikey, security=self.security, external_url=external_url)<EOL>new_transform._transformation_tasks.append(url_task)<EOL>return new_transform<EOL>
Takes a 'screenshot' of the given URL

*returns* [Filestack.Transform]

```python
from filestack import Client

client = Client("API_KEY")
# returns a Transform object
screenshot = client.url_screenshot('https://www.example.com', width=100, height=100, agent="desktop")
filelink = screenshot.store()
````