A/B test options at the widget level
I am looking for a method to show 1 of 3 different widgets on my site's homepage. I could do this with javascript, but this would increase page weight and I would rather do it at time of render (native wp or php solution).
The solution does not have to be a true A/B test (the selected widget does not have to stay persistent to the user's IP).
What are my options to render a single widget from a range of available widgets?
Edit (clarification) - On page load, I want a single widget to display from an array (list) of widgets. For example, within the 'hero' widget area of my homepage, I want to display a single widget - [image rotator, featured post slider, or map] when a use visits the homepage.