How to Perform Cross Browser Testing From Various Geo Locations
Tags: webdev, testing, productivity
Published: 2022-03-30 15:00:38

 

Does your website look the same from North America as it looks from some other location? Websites behave differently from different geo locations and that might concern you the most if you are running some ads on your website or your website makes show different features to different users based on location, or if you have an internationalized website that show different language web pages based on user location.

Have you ever gone into some deep research by checking google results of a specific keyword from different location?

If not, have a look at the keyword ‘LambdaTest’ when searched from location Germany.

![](https://cdn-images-1.medium.com/max/2192/1*SGQzris6W8hdQnoXltt54g.png)

And check this screenshot where I have searched ‘LambdaTest’ from US location.

![](https://cdn-images-1.medium.com/max/2626/1*LcAojO2gxvwx-x9QzF-IMw.png)

You may find the visible differences that are quite easy to understand like:

* In US location, you can see that Sign Up, FAQ, Blog, Support cards are generated under the first search result but search in Germany they are just created for Blog and Testing of locally hosted pages.

* You can see that the order of search results is also different.

This is just a basic example. When you location to define a major characteristic of your website it becomes necessary to check your website from different geo locations.

* If you allow payment on your website, ideally users from US should see the total amount to be paid in USD while the ones paying from Germany should get an estimate in Euro. This is just an important factor which usually went unnoticed by us. In addition location may also change the payment gateway. For example the payment gateway used in USA may not be compliant with new GDPR policies of Europe and you may need to show different payment gate for European users.

* Same goes for your website’s search results, the audience from US will have a different taste in terms of accessories, clothings, eating habits, etc as compared to people from Germany. So, if your website is internationally hosted, you might want to check what your search is showing to them.

* If you’re running Ads on your website, you might be interested in knowing what ads are being shown on your website in a different location. So, what’re you going to do? Again, you would test from different geo location.

## Cross Browser Testing from Different Geo Locations

The major point that catches the attention of the users lies behind the browser or OS or device that they are using. As I have already mentioned in a blog about the effect of location on cross browser device selection, you need to change your priority browsers according to the locations.

People in different locations have different liking for browsers, operating systems and devices.

So, if you’re checking for Germany location, you might want to prioritize your browsers as: Chrome, Firefox, and Safari and if you are testing for Japan you’ll need to go for Chrome, Safari, IE. That’s the catch here. *Cross browser testing from different geo locations*.

Before going into its details, there are some terms that we would be using in the post which you should know beforehand.
>  VPN, Virtual Private Network: A VPN is a popular internet shielding method basically used to shield your activity from your ISP(Internet service provider) by adding a layer of security to both public and private networks.
>  A VPN thus allows you to send and receive data while maintaining the security of a network by allocating you a different IP so that even your ISP will not be able to track your activity.
>  Localhost Tunnel: When you connect a tunnel, you can allow your local files to be accessed by the specific machine. SSH tunnel is one such way where you can connect your local files to the cloud.
>  

You can also test using different locations by connecting VPN on your local system and then browsing your website in your local browser. But if you want to perform Cross browser Testing using different location, then you will need to connect tunnel and then perform testing using tunnel on VPN.

## Testing on Different Locations using VPN

Now if you want to test your pages on different locations, all you need to do is install a VPN solution, change your location to the desired location in the VPN solution, and start testing on your browser. All traffic will be routed via VPN and your system browser’s apparent feel would be as if it’s in another country. The challenge comes, when you have to perform [cross browser testing of geolocation features](https://www.lambdatest.com/blog/how-to-perform-cross-browser-testing-from-various-geo-locations/?utm_source=devto&utm_medium=organic&utm_campaign=mar30_sd&utm_term=sd&utm_content=blog) of your webpages.

## LambdaTest Tunnel + VPN= Cross browser testing from different location

LambdaTest Tunnel creates a secure shell protocol based connecting tunnel between your system and [LambdaTest ](https://accounts.lambdatest.com/register)servers. In other words, LambdaTest Tunnel allows you to connect your local machine to LambdaTest cloud platform and test on LambdaTest browsers. This feature is used mainly for testing locally hosted or privately hosted web pages and web apps. The important point to note here, is that once you have connected LambdaTest Tunnel, all pages that you open in LambdaTest platform are routed through your local system’s internet. So if your location is set to California via VPN, then pages you open at LambdaTest platform would show as if they are being opened from California location.

Let me explain it in a simpler way.

There is a VPN connected to your local machine. So, your local machine is using some distant location as per your desire. Say, your local machine is on California’s IP after getting connected to VPN. Now, you want to perform cross browser testing of your website on different combinations of chrome using California’s IP. All you now need is to connect LambdaTest Tunnel with your machine and access your website on the desired chrome combination. And woohoo! You’re now viewing your website from California. Simple?

So, let’s just set this up step by step.

 1. Create an account on [LambdaTest](https://accounts.lambdatest.com/register?utm_source=devtoutm_medium=organic&utm_campaign=mar30_sd&utm_term=sd&utm_content=blog). The major plus is, it’s free of cost.

 2. Install VPN on your local machine. You can install any chrome extension if you’re using chrome like: [SetUpVPN],[DotVPN], [Colorful Galaxy] or install some other [VPN service].

 3. Create an account and start the VPN.

 4. Once you start the VPN, type ‘what is my IP location’ in the new tab. You’ll get to know the IP location along with your IP address.

![](https://cdn-images-1.medium.com/max/2000/1*zQnhfbebvqyfWrY22rGzMA.png)

1. Once set with this, login to your LambdaTest account and connect SSH tunnel using the following documentation on connecting localhost tunnel.
2. After connecting the localhost tunnel, just launch your desired browser. I have launched lambdatest.com on Chrome 68, Windows 10 by selecting tunnel while launching.
3. As you can see in the screenshot below, lambdatest.com is accessed from California on Chrome 68, Windows 10.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/heu4wble5n2t1f16ykxj.png)

4- To make sure of this, you can also check the IP address and the IP location inside the VM using the same text.


![](https://cdn-images-1.medium.com/max/2506/1*99cR1t0D3ppfharAmdzNOA.png)

So, this way you can test your website from different geo locations.

Cross browser testing a website from different geo locations is as important as performing cross browser testing itself. This will help you from some unexpected user issues worldwide by solving them beforehand.

To delve deeper into browser compatibility testing world, refer to our [blogs on browser compatibility and testing](https://www.lambdatest.com/blog/category/cross-browser-testing/?utm_source=devto&utm_medium=organic&utm_campaign=mar30_sd&utm_term=sd&utm_content=blog).

And if you face any problem while testing your website from different geo locations, just chat with us or drop us a mail at [support@lambdatest.com](mailto:support@lambdatest.com).

Happy Testing!
{% youtube https://youtu.be/rJHZe1HPR70 %}