Coping URL

I am working on a script and need to copy a url from a website and then paste it into a textbox. I can’t figure out how to copy the url I need or even paste it. Does anyone know how to do this using PowerShell?

Have a look at WASP http://powershell.com/cs/blogs/tips/archive/2014/05/06/automation-via-keystroke-and-mouse-click.aspx or if everything takes place inside the web browser have a loot at internet explorer automation.