The long-awaited wagering bill was advanced favorably out of the Senate Ways and Means Committee late Friday afternoon, and is set for a vote on Beacon Hill this week.