def draw(self, context): layout = self.layout row = layout.row() row.operator("wm.url_open", text="Open Link").url = "http://www.google.co.uk"
bpy.ops.wm.url_open(url="http://www.google.co.uk")